官术网_书友最值得收藏!

Knowledge check

For the following exercises, open up your terminal and try to solve the following tasks:

  1. Do a long listing for all the files in /var/log.
  2. Display the contents of the file /etc/hostname.
  3. Create three files – file1, file2, and file3 – in /home/elliot.
  4. List all the files (including hidden files) of elliot's home directory.
  5. Create a directory named fsociety in /home/elliot.

True or false

  1. /home/root is the home directory of the root user.
  2. dir1/dir2/dir3 is an example of an absolute path.
  3. /home/elliot/Desktop is an example of an absolute path.
  4. touch -m file1 will update file1 access time.
  5. mkdir dir1 dir2 dir3 will create three directories – dir1, dir2, and dir3.
主站蜘蛛池模板: 蒙自县| 托克托县| 万年县| 洪雅县| 平远县| 许昌市| 灌南县| 曲周县| 东莞市| 锦州市| 周至县| 永嘉县| 策勒县| 丽水市| 成都市| 海晏县| 漳浦县| 双鸭山市| 平安县| 河东区| 太湖县| 宁远县| 桐梓县| 霍城县| 多伦县| 右玉县| 北川| 保德县| 青河县| 黎平县| 南川市| 罗甸县| 建水县| 彭州市| 全椒县| 深州市| 故城县| 竹溪县| 连江县| 左权县| 永城市|