Miscellaneous Linux Commands

Just a list commands that I used at the Linux prompt. These are all examples to help remember the format.

* Can be used to see if a program is loaded

#  rpm  -q  curl

* To unmount a device

#  umount  /mnt/saves

* To make a directory

#  mkdir  -p  /mnt/saves

* To mount a device

#  mount  -t  cifs  //10.120.1.4/POS.TRANSFER  /mnt/POS.TRANSFER  -o  rw,username=administrator,password=perfsingle101

* To remove a directory

#  cd   /mnt

#  rm  –rf  saves

* VI command can be use to edit a file. Just basic edit commands

I  = inset

Esc  = to get out of insert

Shift :  = to get to command line

WQ!  = to save changes