Saturday, April 26, 2014

ls

  • ls command examples
Display filesize in human readable format (e.g. KB, MB etc.,)
$ ls -lh -rw-r----- 1 linxcare team-dev 8.9M Jun 12 15:27 arch-linux.txt.gz
Order Files Based on Last Modified Time (In Reverse Order) Using ls -ltr
$ ls -ltr
Visual Classification of Files With Special Characters Using ls -F
$ ls -F
 
More ls examples: LS Command: 15 Practical Examples
 
 
 
 

Related Posts:

  • ps    ps command examples ps command is used to display information about the processes that are running in the system. While there are lot of arguments that could be passed to a ps command, following are some o… Read More
  • rm   rm command examples Get confirmation before removing the file. $ rm -i filename.txt It is very useful while giving shell metacharacters in the file name argument. Print the filename and get conf… Read More
  • rpm   rpm command example   To install apache using rpm. # rpm -ivh httpd-2.2.3-22.0.1.el5.i386.rpm To upgrade apache using rpm. # rpm -uvh httpd-2.2.3-22.0.1.el5.i386.rpm To uninstall/remove apache using rp… Read More
  • passwd   passwd command examples Change your password from command line using passwd. This will prompt for the old password followed by the new password. $ passwd Super user can use passwd command to reset others pa… Read More
  • ping   ping command example  Ping a remote host by sending only 5 packets. $ ping -c 5 gmail.com … Read More

0 comments:

Post a Comment