In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
Service ftp {socket_type = stream protocol = t
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.