In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The ls command is a simplified form of list and one of the most commonly used commands in the linux command. Here are some common options for this command!
Ls lists all the files in the current directory without any parameters! But for Israel. The initial file cannot be displayed, which is one of the hidden ways in which some webshell acts as a backdoor!
Root@kali:~/linuxcmd# lstest1 test2.txtroot@kali:~/linuxcmd#
Ls-a displays all files, including any files with. Start with hidden files!
Root@kali:~/linuxcmd# ls-a. .. Test1 test2.txt .test3.txtroot @ kali:~/linuxcmd#
Ls-A shows that except. And... All files except, including hidden files!
Root@kali:~/linuxcmd# ls-Atest1 test2.txt .test3.txtroot @ kali:~/linuxcmd#
Ls-l uses the long format to display the various properties of the file
Total amount of root@kali:~/linuxcmd# ls-l 8drwxr-xr-x 2 root root 4096 Mar 26 19:09 test1-rw-r--r-- 1 root root 5 Mar 26 19:09 test2.txt
In addition, we can cooperate with A to check all output. And... All files except, including. Start with the hidden file!
Total amount of root@kali:~/linuxcmd# ls-Al 12drwxr-xr-x 2 root root 4096 Mar 26 19:09 test1-rw-r--r-- 1 root root 5 Mar 26 19:09 test2.txt-rw-r--r-- 1 root root 5 Mar 26 19:25.
Ls-F to better distinguish between a file and a directory, we can use the-F parameter, which adds / to the directory, * to the executable, and @ to the linked file!
Root@kali:~/linuxcmd# ls-ptest1/ test2.txtroot@kali:~/linuxcmd#
In addition, the various options of this command can be used together!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.