< A Quick Introduction to Unix
Task One
Change to the bash shell.
Click to see the correct command line
% bash
Task Two
Use the command pwd. Write down the full path to your home directory.
Click to see the correct command lines
% pwd
Task Three
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
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
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.