![]() ![]() If you're confused about how to execute these commands, please watch my video tutorial demo/lab here: Feedback is sweet, so please provide it via comment. As we move along, we'll encounter many other useful commands for working with the directory. Well, that's the basics of working with directories in Kali Linux. Now, to remove the directory 'test,' execute the following: cd Desktop Means we are changing to Desktop (getting out from rmdir test Means we are deleting 'test' directory It will o/p 'test' in the next line because we're in a 'test' folder, and pwd prints the working directory. To display the working directory, type 'pwd': pwd To change directory to 'test,' use 'cd test,' and to list the contents, use cd test ls For that, execute the following: cd ~ cd Desktop mkdir testĪ new folder, 'test' will be created on the desktop now. Sign '/' means File System Directory For 'desktop folder' in Kali Linux, we write it as 'Desktop' (notice capital D here)Įxecuting the Commands Means we're in the home folder Write 'cd /' cd / Means we changed directory from ~ to / Write 'ls' ls Means it will list/show the content of / directory Make a new folder 'test' on the desktop. ![]() We'll cover 12 commands for listing your connected devices. For example, in Figure 1, I'm now in the Myfolder directory, located inside the Desktop directory. Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering. The fdisk Command The /proc Files The lspci Command The lsusb Command The lsdev Command The lshw Command The lsscsi Command The dmidecode Command The hwinfo Command Wrap It Up Find out exactly what devices are inside your Linux computer or connected to it. pwd: The command displays your current working directory.The following are the most used commands to work with files and directories in Linux: This article will cover the most-used commands and give examples of how to use each one. Command-line plays a vital role while working with Kali Linux as most of its tools don’t have a Graphical User Interface and if you are performing ethical hacking or penetration testing then most of the time you will have to work with command Line Interface itself. Knowing how to navigate a Linux directory and create files is essential for working with such tools. For instance, most security programs, especially those used in penetration testing and digital forensics, are working under Linux OS, and many of these tools do not have a Windows edition. Working with files and directories is an essential skill that any Linux or computer security professional must master. However, any Linux distribution can be used to practice the exercises presented in this post. The Linux edition used during this tutorial is Kali Linux. This article gives a brief overview of the most common commands for working with files and directories under the Linux system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |