An exploration of the Linux Shell
Let's practice some common shell commands
- Create a directory
foo
viamkdir foo
command cd
into thefoo
directory
- Create a file using
touch newfile.txt
- Run the command again? What happens?
- Remove the directory
foo
via the commandrm -rf foo
- Make a file and then delete it:
touch bar.xt
then runrm bar.txt
- list the contents of
/usr/bin
by running the commandls -l /usr/bin
- What did you see?