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

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.
主站蜘蛛池模板: 江源县| 南开区| 科技| 留坝县| 京山县| 铅山县| 蒲城县| 阳原县| 普定县| 呼图壁县| 莱阳市| 湛江市| 无棣县| 长寿区| 克拉玛依市| 临沭县| 潞西市| 禹城市| 敦化市| 阳新县| 鹤山市| 田东县| 商河县| 达拉特旗| 西青区| 荔波县| 延津县| 托克托县| 攀枝花市| 崇义县| 大庆市| 竹北市| 黔西| 尼玛县| 漳浦县| 渭源县| 新蔡县| 深州市| 鄢陵县| 南宫市| 驻马店市|