Unpack files:
tar -xvzf iNaturalist2018/train_val2018.tar.gz -C /datasets/inaturalist2018/
flag -z only for files with a name ending with .gz.
flag -C for specifying the destination folder.
unzip imagenet/imagenet-object-localization-challenge.zip -d /datasets/imagenet/
flag -d is for specifying the destination folder.
Editing file in the terminal:
vi file, click i for modifying the file. After editing, click esc key and input :wq for save and exit.
SSH-related for interacting with a remote server, e.g., data transfer via scp, login, is detailed Here.
Basic Linux commands please check: https://kinsta.com/blog/linux-commands/, https://www.hostinger.co.uk/tutorials/linux-commands
X11 forward on MacOS: https://docs.cse.lehigh.edu/xforwarding/xforwarding-mac/