An exploration of the Linux Shell
Let's practice some common shell commands
- Create a directory
fooviamkdir foocommand cdinto thefoodirectory
- Create a file using
touch newfile.txt - Run the command again? What happens?
- Remove the directory
foovia the commandrm -rf foo - Make a file and then delete it:
touch bar.xtthen runrm bar.txt
- list the contents of
/usr/binby running the commandls -l /usr/bin - What did you see?