Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux common commands ll namely ls -l --color = auto     - Redis Linux system installation guide (Database)

- Quick paging ROW_NUMBER conducted (Database)

- C ++ complex class of operator overloading (Programming)

- Heartbeat (v1, v2, pacemaker) cluster components Overview (Server)

- C ++ hash function (Programming)

- Use IF NOT EXISTS create a data table (Database)

- Linux system installation Gitlab (Server)

- Use SecureCRT to transfer files between Linux and Windows (Linux)

- Android custom slideshow menu slidmenu (Programming)

- ActiveMQ-based shared file system HA solutions (Server)

- CentOS How to mount the hard drive (Linux)

- Python in yield (Programming)

- Storm how to assign tasks and load balancing (Programming)

- stat - Get more information than ls (Linux)

- impdp error ORA-31631, ORA-39122 (Database)

- Linux (Debian) install software, missing dynamic link libraries .so (Linux)

- Ten SCP transfer command example (Linux)

- Use Mop monitor stock prices at the Linux command line (Linux)

- EXP-00091 Error resolved (Database)

- Compile and install Redis and register as a system service under RedHat5.8 environment (Database)

 
         
  Linux common commands ll namely ls -l --color = auto
     
  Add Date : 2017-08-31      
         
       
         
  1.Linux system operation and maintenance, or development, that is often used ll ls -l --color = auto command. For example ll -hF,

[linuxhost @ localhost ~] $ ll -hF
The total amount of 1.1G
drwxrwxr-x. 2 linuxhost doctor 4.0K 1 Yue 18 10:23 Documents /
-rw-r -----. 1 linuxhost doctor 701M 12 Yue 24 21:51 Far123-XP-2014.5c.iso
drwxr-xr-x. 4 linuxhost doctor 4.0K. 11 Yue 30 16:00 Hadoop /
drwxrwxr-x. 6 linuxhost doctor 4.0K 12 Yue 16 22:04 hbaseRootDir /
drwxrwxr-x. 27 linuxhost doctor 4.0K 1 Yue 17 11:16 opt /
drwxrwxr-x. 2 linuxhost doctor 4.0K. 8 Yue 13 21:48 save /
drwxrwxr-x. 2 linuxhost doctor 4.0K 1 Yue 1 15:26 share /
drwxrwxr-x. 3 linuxhost doctor 4.0K 1 Yue 2 21:11 vmware /
-rwxr-x - x 1 linuxhost doctor 418M 12 Yue 24 23:07 VMware-Workstation-Full-11.0.0-2305329.x86_64 (1) .bundle *.
drwxrwxr-x. 3 linuxhost doctor 4.0K 12 Yue 3 21:03 WebstormProjects /
drwxrwxr-x. 4 linuxhost doctor 4.0K 12 Yue 28 08:15 workspace /
drwxrwxr-x. 4 linuxhost doctor 4.0K 10 Yue 26 18:28 workspaceForWork /
drwxrwxr-x. 7 linuxhost doctor 4.0K 1 Yue 17 23:50 workspace-sts-3.6.2.RELEASE /
drwxrwxr-x. 5 linuxhost doctor 4.0K. 9 Yue 25 01:25 zookeeper /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 20:05 on January 18 public /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 21:11 on October 30 video /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 23:04 on December 7 Photos /
drwxr-xr-x. 4 linuxhost doctor 4.0K at 20:58 on December 13 Documents /
drwxr-xr-x. 3 linuxhost doctor 12K at 10:46 on January 18 Downloads /
drwxr-xr-x. 3 linuxhost doctor 4.0K at 21:09 on August 19 Music /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 21:54 on December 4 Desktop /

-h, --human-readable

print sizes in human readable format (e.g., 1K 234M 2G)

-F, --classify, --file-Type

Enclose a character after each file name indicating the type of the file. "*" Indicates a normal executable file; "/" indicates a directory; "@" symbolic link; "|" indicates FIFOs; "=" represents sockets (sockets); nothing indicates a regular file.

Of course, for convenience, we can also use an alias like alias ll = 'ls -l --color = auto'

Like the definition of an alias:

[linuxhost @ localhost ~] $ alias ll = 'ls -lhF --color = auto'
[linuxhost @ localhost ~] $ ll
The total amount of 1.1G
drwxrwxr-x. 2 linuxhost doctor 4.0K 1 Yue 18 10:23 Documents /
-rw-r -----. 1 linuxhost doctor 701M 12 Yue 24 21:51 Far123-XP-2014.5c.iso
drwxr-xr-x. 4 linuxhost doctor 4.0K. 11 Yue 30 16:00 hadoop /
drwxrwxr-x. 6 linuxhost doctor 4.0K 12 Yue 16 22:04 hbaseRootDir /
drwxrwxr-x. 27 linuxhost doctor 4.0K 1 Yue 17 11:16 opt /
drwxrwxr-x. 2 linuxhost doctor 4.0K. 8 Yue 13 21:48 save /
drwxrwxr-x. 2 linuxhost doctor 4.0K 1 Yue 1 15:26 share /
drwxrwxr-x. 3 linuxhost doctor 4.0K 1 Yue 2 21:11 vmware /
-rwxr-x - x 1 linuxhost doctor 418M 12 Yue 24 23:07 VMware-Workstation-Full-11.0.0-2305329.x86_64 (1) .bundle *.
drwxrwxr-x. 3 linuxhost doctor 4.0K 12 Yue 3 21:03 WebstormProjects /
drwxrwxr-x. 4 linuxhost doctor 4.0K 12 Yue 28 08:15 workspace /
drwxrwxr-x. 4 linuxhost doctor 4.0K 10 Yue 26 18:28 workspaceForWork /
drwxrwxr-x. 7 linuxhost doctor 4.0K 1 Yue 17 23:50 workspace-sts-3.6.2.RELEASE /
drwxrwxr-x. 5 linuxhost doctor 4.0K. 9 Yue 25 01:25 zookeeper /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 20:05 on January 18 public /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 21:11 on October 30 video /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 23:04 on December 7 Photos /
drwxr-xr-x. 4 linuxhost doctor 4.0K at 20:58 on December 13 Documents /
drwxr-xr-x. 3 linuxhost doctor 12K at 10:46 on January 18 Downloads /
drwxr-xr-x. 3 linuxhost doctor 4.0K at 21:09 on August 19 Music /
drwxr-xr-x. 2 linuxhost doctor 4.0K at 21:54 on December 4 Desktop /
[linuxhost @ localhost ~] $ alias
alias egrep = 'egrep --color = auto'
alias fgrep = 'fgrep --color = auto'
alias grep = 'grep --color = auto'
alias l. = 'ls -d. * --color = auto'
alias ll = 'ls -lhF --color = auto'
alias ls = 'ls --color = auto'
alias vi = 'vim'
alias which = 'alias | / usr / bin / which --tty-only --read-alias --show-dot --show-tilde'

I am here to cover the alias system, shell syntax do not appear spaces attention.

2. How to display hidden files it is generally configured jdk and other systems in order to define the .bash_profile .bashrc.

You might think ls -a, but he also showed another directory.

You can use ls -d. * Display these hidden directories.

-d, --directory

The directory name is listed as the same as other files, rather than listing their contents.
     
         
       
         
  More:      
 
- Android application simulates the phone keypad (Programming)
- Linux (RHEL5) general optimization system security (Linux)
- EXP-00091 Error resolved (Database)
- Depth understanding of C language (Programming)
- Deploy Apache Spark cluster environment in Ubuntu (Server)
- Linux server operating system security configuration (Linux)
- linux remote control software (Linux)
- Linux process or thread is bound to a CPU (Programming)
- Linux account management add relevant directives (Linux)
- What have we learn from the front-end application Nodejs (Programming)
- The Sublime Text 3 configuration file (Linux)
- How to download video youtube-dl in Linux (Linux)
- MongoDB version 3.2 WiredTiger storage engine performance tests (Database)
- Install Krita 2.8 on Ubuntu 13.10 / 12.04 / 12.10 (Linux)
- Python, and / or (Programming)
- MySQLbinlog combat on using data recovery (Database)
- Heartbeat cluster components Overview (Server)
- CentOS 7 x64 compiler installation Tengine 2.0.3 Comments (Server)
- GNU Linux use diff to generate a patch with the patch (Linux)
- Upgrading to MySQL 5.7 partitioning problem solving (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.