For the following exercises, open up your terminal and try to solve the following tasks:
- Do a long listing for all the files in /var/log.
- Display the contents of the file /etc/hostname.
- Create three files – file1, file2, and file3 – in /home/elliot.
- List all the files (including hidden files) of elliot's home directory.
- Create a directory named fsociety in /home/elliot.
True or false
- /home/root is the home directory of the root user.
- dir1/dir2/dir3 is an example of an absolute path.
- /home/elliot/Desktop is an example of an absolute path.
- touch -m file1 will update file1 access time.
- mkdir dir1 dir2 dir3 will create three directories – dir1, dir2, and dir3.