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

Basic commands in Kali Linux

There are some basic commands in Kali Linux that are very useful to know. Some of these useful basic commands include locate, chmod, find, ls, cd, and pwd:

  • locate: I use this command often; it can be used to easily locate a specific file. Before using the locate command, you need to perform a database update using updatedb, as shown in the following screenshot (Figure 20):
Figure 20: Using the locate command
  • chmod: This command is useful if you need to control the permissions of a file. Some tools, when downloaded, will require you to modify the permissions so that you are able to execute them. For example, chmod 600 sets the file so that only the owner can read and write, as shown in Figure 21:
Figure 21: Using the  chmod command
  • find: This command is a more intense search tool than the locate command; here, find searches any given path as shown in Figure 22:
Figure 22: Using the find command
  • ls: This command is used to list the contents of the current directory. Using the -a switch will display hidden files and folders.
  • cd: This command is used to change the current working directory. It is also known as the chdir command.
  • pwd: This command prints the working directory, which simply displays the name of the current directory that you are working in.

All of these listed commands are a good starting point to get you familiar with the core functions in Kali Linux. If you are looking for a complete A-Z list of commands, these can be found easily using your favorite search engine.

主站蜘蛛池模板: 新沂市| 中宁县| 万州区| 儋州市| 社旗县| 辽源市| 禄丰县| 阜南县| 台北县| 晋江市| 威信县| 建平县| 什邡市| 家居| 嘉鱼县| 广西| 东明县| 西吉县| 正蓝旗| 旬阳县| 容城县| 新巴尔虎右旗| 沾益县| 博湖县| 宕昌县| 南木林县| 宝山区| 康平县| 大渡口区| 红桥区| 于田县| 大荔县| 禄丰县| 许昌市| 碌曲县| 信宜市| 德安县| 故城县| 仪陇县| 木兰县| 正宁县|