System Administration Commands


We list several commonly-used Linux System commands below that help you to manage disks, shut down your computer and gather information about it.


  You enter these commands from a Shell prompt.   Please consult your System Admin Ref. Documents for more details Info regarding each commands and as follows:


mount [options] device file_system 

     mount a file system

umount [option] file_system 

     Unmount a valid mounted file system

fsck [options] file_system 

     check the structure and integrity of a specified file system

shutdown 

     shut the system down now instead of waiting for a message to be sent (Ctrl+Del does the same thing also)

     ex.:

        shutdown -h now(shutdown the system now)

        shutdown -r now(restart the system)

vmstat [options] 

     look at the virtual memory performance

procinfo 

     gather information about processes

df 

     show all mount points in the current system

su 

     login as super user and requires the root access password

bc 

     standands for the binary calc program and to exit or to quit from this program just type quit 

jobs 

     show or display all current suspended jobs

kill [ %1 ] 

     to terminate a suspended program or process, where %1 is the first suspended process.   use ps -af command to examine the process telnet { IP address } 

     remove access to a valid machine.   where IP address used here-in is assume to valid and existing

ssh -1 { login user name | IP | address } 

     will login to the secure shell host.  Please see the example below :

     ex.: 

         ssh -1 jean vins.vinsky2002.org

info { topic | command } 

     will show help information regarding the said topic or command send as parameter.  

     command is similar to man command

tree 

     display directory tree

     syntax: 

         tree [opts] [path]

     ex.:

         tree -afx /etc/sysconfig

file 

     determine file type or nature of the said file.

     syntax:

            file [opts] [file]

rpm 

     The Red Hat Package Manager, is a freely available packaging system for software distribution and installation.

     syntax:

          rpm [options][packages]

     ex.:

         install or upgrade

         rpm -i --force package_file_name

         rpm -U --allfiles package_file_name


         testing

         rpm -i --test package_file_name

        

         Uninstall command

         rpm -e --allmatches package_name