Windows users are recommended to use Git for Windows Installer to follow through these instructions.
$ 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.
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.
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>
$ chmod +x $FILENAME
$ ./$FILENAME
$ mv -v /nfs/home/$USER/HELLO /nfs/scratch/$USER/HELLO
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