Difference between revisions of "Linux"

From New IAC Wiki
Jump to navigation Jump to search
Line 31: Line 31:
 
* tar -zxvf geant4.8.0.p01.tar.gz
 
* tar -zxvf geant4.8.0.p01.tar.gz
 
* tar -zxvf geant4.8.0.p01.tgz
 
* tar -zxvf geant4.8.0.p01.tgz
 +
 +
to run process in background
 +
* cntr-z
 +
* bg
 +
* fg

Revision as of 20:42, 13 September 2011

go back


to remove non-empty directory

  • rm -rf <directory name>


to check hard drive partition:

  • fdisk -l
  • parted /dev/sda print


available memory in megabytes

  • free -m


  • convert -density 300 aluminum-44MeV.pdf aluminum-44MeV.png


Create CD-ROM ISO image with dd command:

  • dd if=/dev/cdrom of=/tmp/cdimg1.iso


Check Shell Type Currently Use

  • echo $SHELL
  • /bin/bash --version


To untar file

  • tar -xvf geant4.8.0.p01.tar
  • tar -zxvf geant4.8.0.p01.tar.gz
  • tar -zxvf geant4.8.0.p01.tgz

to run process in background

  • cntr-z
  • bg
  • fg