Difference between revisions of "Linux"

From New IAC Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
to remove non-empty directory
 
to remove non-empty directory
  
    * rm -rf <directory name>  
+
* rm -rf <directory name>  
  
  
 
to check hard drive partition:
 
to check hard drive partition:
 
      
 
      
    *fdisk -l
+
*fdisk -l
 
+
*parted /dev/sda print
    *parted /dev/sda print
 

Revision as of 17:43, 30 June 2011

go back


to remove non-empty directory

  • rm -rf <directory name>


to check hard drive partition:

  • fdisk -l
  • parted /dev/sda print