A Quick Introduction to Unix/exercises1
Appearance
Task One
[edit | edit source]Change to the bash shell.
Click to see the correct command line
% bash
Task Two
[edit | edit source]Use the command pwd. Write down the full path to your home directory.
Click to see the correct command lines
% pwd
Task Three
[edit | edit source]Look at the image of an example filestructure tree here. Trace and write down the path from the root to the folder ccaastu
Click to see the correct response
/nfs/fs-i/UM0098/ccaastu
Task Four
[edit | edit source]Change your current view to your home directory.
Click to see the correct command
% cd ~
List all the files with the extension .bat.
Click to see the correct command
% ls *.bat
How many files are there? ls -1 | wc -l