Exercise: File content
- grep through /etc/password showing the line of your username
- Then show the shell of every user in the system.
- Count how many times each shell is used.
- Count how many users are in the system.
- Archive the content of your home directory in a tar.gz and then also ina tar.bz2 file.
- How do they compare in size to each other and to the real content of your home directory?
- Find your name in the zipped file without opening it to the disk.
- Open the whole directory tree in /tmp.
- Remove a file from that new tree and compare it to original directory tree.