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

Knowledge check

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

  1. You need to know if the echo command is a shell builtin or an executable program, which command would you run?
  2. Display the location of the uptime command executable file.
  3. Show a brief description of the mkdir command.
  4. You forgot how to use the mv command, what are you going to do?
  5. You forgot which command is used to display the calendar, what are you going to do?
  6. The history command is a shell builtin and so it doesn't have a man page. You want to clear your history but don't know how. What are you going to do?

True or false

  1. The command whereis is used to locate commands.
  2. You can use man -p and apropos interchangeably.
  3. You can use the whatis command to get a brief description of a command.
  4. You can use the type command to determine if a command is an alias, shell builtin, or an executable program.
主站蜘蛛池模板: 玉门市| 凌海市| 抚顺县| 博湖县| 石狮市| 神池县| 视频| 丽水市| 通化市| 蓬安县| 内黄县| 武安市| 谷城县| 铜川市| 洪雅县| 定兴县| 瑞丽市| 正安县| 青田县| 内江市| 大宁县| 樟树市| 彰武县| 望江县| 宜宾市| 宁蒗| 诏安县| 六枝特区| 翁牛特旗| 华容县| 古蔺县| 改则县| 秦安县| 定兴县| 芮城县| 巴马| 大庆市| 花莲市| 沾益县| 武冈市| 铁岭县|