Difference between revisions of "Linux"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
− | + | * rm -r name //remove directory | |
− | * rm - | + | * fdisk -l //check drive partition |
− | + | * parted /dev/sda print //check drive partition | |
− | + | * free -m //check available memory in Mb | |
− | |||
− | * fdisk -l | ||
− | * parted /dev/sda print | ||
− | |||
− | |||
− | |||
− | * free -m | ||
− | |||
− | |||
* convert -density 300 aluminum-44MeV.pdf aluminum-44MeV.png | * convert -density 300 aluminum-44MeV.pdf aluminum-44MeV.png | ||
− | + | * dd if=/dev/cdrom of=/tmp/cdimg1.iso //Create CD-ROM ISO image | |
− | + | * echo $SHELL //Check Shell Type Currently Use | |
− | + | * /bin/bash --version //Check Shell Type Currently Use | |
− | * dd if=/dev/cdrom of=/tmp/cdimg1.iso | ||
− | |||
− | |||
− | Check Shell Type Currently Use | ||
− | |||
− | * /bin/bash --version | ||
− | |||
− | |||
− | |||
* tar -xvf geant4.8.0.p01.tar | * tar -xvf geant4.8.0.p01.tar | ||
* 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 | ||
− | + | * cntr-z //to stop process | |
− | to run process in background | + | ** bg //to run stopped process in background mode |
− | * | + | ** fg //to run stopped process in frontground mode |
− | |||
− | * fg |
Revision as of 21:28, 14 September 2011
- rm -r name //remove directory
- fdisk -l //check drive partition
- parted /dev/sda print //check drive partition
- free -m //check available memory in Mb
- convert -density 300 aluminum-44MeV.pdf aluminum-44MeV.png
- dd if=/dev/cdrom of=/tmp/cdimg1.iso //Create CD-ROM ISO image
- echo $SHELL //Check Shell Type Currently Use
- /bin/bash --version //Check Shell Type Currently Use
- tar -xvf geant4.8.0.p01.tar
- tar -zxvf geant4.8.0.p01.tar.gz
- tar -zxvf geant4.8.0.p01.tgz
- cntr-z //to stop process
- bg //to run stopped process in background mode
- fg //to run stopped process in frontground mode