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

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.
主站蜘蛛池模板: 彝良县| 镇平县| 平阳县| 黄大仙区| 沧州市| 铁力市| 黑山县| 西贡区| 开阳县| 石首市| 桐庐县| 桓仁| 南汇区| 定襄县| 清镇市| 南宫市| 桂东县| 桃园市| 龙口市| 稻城县| 三河市| 盐城市| 茂名市| 团风县| 那曲县| 葫芦岛市| 揭东县| 上杭县| 隆回县| 凤城市| 阳原县| 石楼县| 永登县| 兴海县| 渭源县| 永仁县| 龙陵县| 常宁市| 慈利县| 德兴市| 温州市|