Windows users are recommended to use Git for Windows Installer to follow through these instructions.

Storage

$ vuw-quota

/nfs/home/$USER and /nfs/scratch/$USER are the storage locations available to each user. Additional storage location is /nfs/scratch/noquota-volatile . You are responsible to clean the latter once your work has finished.

Creating and Editing Files

To create a new file, text editors available are vim and nano :

$ vi $FILENAME

vim operates in modes. To enter into the edit mode, press i , once finished press ESC key to exit the edit mode and press :wq! to save and exit vim text editor.

Read contents of the file

To read contents of any file, the available options are cat , more , and less .

$ cat $FILENAME

<aside> 💡

It is possible to directly embed multi-line text directly within your shell script or command line

$ cat << EOF >> $FILENAME 
> Hello, this is a test file
> EOF

$ cat $FILENAME

</aside>

Executable file

$ chmod +x $FILENAME

$ ./$FILENAME

Renaming or Moving

$ mv -v /nfs/home/$USER/HELLO /nfs/scratch/$USER/HELLO

Utilities

grep utility can be used to search for a particular string within a file

$ grep -i hello $FILENAME

$ grep -B2 -A2 -i hello $FILENAME

awk is a powerful multipurpose utility