Wednesday, August 7, 2013

CentOS Commands Notes

  1. Check routing information
    route
    
  2. Configure a service to start automatically on boot.
    chkconfig service_name on
    
  3. Check the status of a particular port
    netstat | grep port_num
    
  4. nfs related commands. Export all directories listed in /etc/exports.
    exportfs -a
    
    Do not export a directory.
    export -u directory
    
  5. Check routing information.
    ip route
    
  6. Shut down a bridge
    ifconfig bridge_name down
    
    Delete a brige.
    brctl delbr bridge_name
    

No comments:

Post a Comment