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

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.
主站蜘蛛池模板: 和田县| 海林市| 丰顺县| 平定县| 子长县| 金门县| 青铜峡市| 安岳县| 龙州县| 兴隆县| 阿克苏市| 上蔡县| 罗甸县| 临江市| 丁青县| 丰台区| 龙门县| 蒙自县| 青龙| 西青区| 航空| 临江市| 滨州市| 青神县| 石景山区| 缙云县| 萨嘎县| 临桂县| 达孜县| 盐源县| 佛教| 垦利县| 砀山县| 苏尼特右旗| 古丈县| 加查县| 甘洛县| 灵川县| 鄱阳县| 和顺县| 岳普湖县|