Beruflich Dokumente
Kultur Dokumente
9)To find a folder eg Windows folder or Usr folder then follow below command:
>>find . -name filename(Windows)
this will list all the folders starts as Windows.But you need to search in any p
articular mount point.
10)To know mount points and its sizes:
>> df -h or df-k
where h shows the size in GB and k shows the mount size in KB
11)To know the sizes of any folder then go to the respective directory and :
>> du -h/k imran(where imran is the folder or directory or text file)
12)To move the contents of the file from 1 dirctory/folder to another directory/
folder:
>> mv foldername/*(eg imran/*) /Target foldername path(eg:USR/Sap/Sid/Foldername
(egirfan)
Note:both folders must be in same directory.
VI EDITOR COMMANDS:
1) To open a file:
>> vi filename(eg.imran.txt)
2)
>>
>>
>>
>>
7) To quit forcefully
>> :q!
8)To insert any text:
>> i
9)To change any mode:
>>> press Esc button on the keyboard
10)To delete any line then :
>>> DD for 1 line
>>> 2DD for 2 lines
>>> nDD for number of lines.