- [root@localhost ~]# pwd
- /root
- [root@localhost ~]# cd
- [root@localhost ~]#
- [root@localhost ~]# cd ~goodlove007
- [root@localhost goodlove007]#
- ls [OPTION]... [FILE]...
- [root@localhost ~]# ls -a
- . .bash_logout .config .lesshst
- .. .bash_profile .cshrc original-ks.cfg
- anaconda-ks.cfg .bashrc .dbus .tcshrc
- .bash_history .cache initial-setup-ks.cfg
- [root@localhost ~]# ls -A
- anaconda-ks.cfg .bash_profile .config initial-setup-ks.cfg .tcshrc
- .bash_history .bashrc .cshrc .lesshst
- .bash_logout .cache .dbus original-ks.cfg
- [root@localhost ~]# ls -l
- total 12
- -rw-------. 1 root root 2949 Jun 15 18:39 anaconda-ks.cfg
- -rw-r--r--. 1 root root 2964 Jun 15 11:02 initial-setup-ks.cfg
- -rw-------. 1 root root 2066 Jun 15 18:39 original-ks.cfg
- -rw-------. 1 root root 2949 Jun 15 18:39 anaconda-ks.cfg
[root@localhost ~]# ls -lh
total 12K
-rw-------. 1 root root 2.9K Jun 15 18:39 anaconda-ks.cfg
-rw-r--r--. 1 root root 2.9K Jun 15 11:02 initial-setup-ks.cfg
-rw-------. 1 root root 2.1K Jun 15 18:39 original-ks.cfg
[root@localhost ~]# ls -d
.
[root@localhost ~]# ls
anaconda-ks.cfg initial-setup-ks.cfg original-ks.cfg
[root@localhost ~]# ls -r
original-ks.cfg initial-setup-ks.cfg anaconda-ks.cfg
原创文章,作者:N27_太极异次元,如若转载,请注明出处:http://www.178linux.com/78574