Wednesday, February 1, 2012

Ls commands in Linux and examples

more ls commands with examples  :-

lsList the  Files / directories 
ls –aList All files and directories including hidden Files 
ls -lList All information about files/directories
ls –ldList Directory Information 
ls -ltList Last Modified Time Using 
ls –rList files with reverse order
ls –ltrOrder Files Based on Last Modified Time (In Reverse Order) Using
ls –RList  Files Recursively Using 
ls –lhList  files in KB, MB, etc
ls –mLIst  files with comma separation
ls –iDisplay File inode Number Using 
ls –qHide Control Characters Using
ls –nDisplay File UID and GID Using