Unix Tools

CSE3391




Practice Sheet 0 UNIX Commands

0 comments

Have finished practice sheet 0.

Very preliminary introduction and refresher to UNIX commands.

It's interesting how even if you had never used the command before, you can read it and kind of think what it would do.

like

ls ~/ [shows the contents of the home directory]
ls .. [shows the contents of the directory one level higher]
rm ../wordssomethingelse somefile [removes both the wordssomethingelse file and somefile]
mv ~/somefile . [moves somefile which is in the home directory here (the dot)]
mv words wordssomethingelse [rename the file called words to wordssomethingelse]

Note how you can specify DO THIS AT THIS LOCATION ON THIS AND THIS AND THIS... and you can leave out the location information and put it in as needed.

I imagine that one becomes more and more 'fluent' in the language of the command line. I think the little full stop meaning 'here' is cute too.


Practice Sheet 1 Shells

0 comments

Played around with the various shells available (bash, tcsh) and I think I'm happy with bash.

bash has that nice auto-completion feature.

That

THIS=that variable setting feature is nice too.

echo $USER is important to remember for getting environment variables.

We also used
ps [for all running processes in the shell]
set [for checking all the variables]


Last posts

Archives

Links