Linux Simple commands every one - Tecnew

Home Ads

Linux Simple commands every one

Linux Simple commands every one

Share This

 

   ls Shows the list of file

   ls -l Shows the long list of files

   ls -a Shows the list of hidden files

   ls -la Shows the long list of files along with hidden files and folders

   ls -lt Shows the list of file sort by time and date

   ls -ls Shows the list of file long format with file size

   ls -lh Shows the list of file with readable file size

   ls -i Shows the list of file with i nodes

   ls -r Shows the list of file in reverse order

   ls -R Shows the list of file recursively

   ls -s Shows the list of file with file size

   ls -S Shows the list of file sort by file size

   ls -X Shows the list of file sort by extension

   cd home Changes the directory in to home

   cd vagrant/ Change the directory in to vagrant

   cat svs.txt Displays the file contains

   touch sv.txt Creates the text file sv

   cd Change the directory in to home

   cd /temp Changes the directory in to temp

   cd /home/vagrant/ Changes the directory in to vagrant 

   mkdir sv Creates the Directory sv

   rm sv.txt It removes the file sv.txt

   cd /tmp/sv It change the directory in to sv

   cd sv Change directory in to sv

   pwd Present working directory

   cd .. Change directory one step back

   pwd Present working directory

   cd /home/vagrant Changes the directory in to vagrant

   cd /tmp/sv Changes the directory in to sv

   cd          It changes current and previous directory

   history      It shows the all commands in history


No comments:

Post a Comment