examples of admin across various distros

Under construction

Gentoo Debian Redhat

Installing a package

  • emerge PACKAGE
  • apt-get install PACKAGE
  • rpm -i FILENAME
  • yum install PACKAGE
  • adding a boot time service

  • rc-update add SERVICENAME default
  • /sbin/chkconfig add SERVICENAME
  • Viewing services

  • rc-update –show
  • /sbin/chkconfig –list
  • TAIL on Solaris and Linux
  • tail -n 100 FILE
  • Show last 100 lines of FILE (or actually show the lines fo file starting from the 100 lines from the end
  • tail -100 FILE
  • Show all lines of file starting from line 100 of the file
  • tail +100 FILE

    Leave a Reply