Announcement

Collapse
No announcement yet.

My personal list of terminal commands

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    My personal list of terminal commands

    Here is my list of commands that I found useful to catalog over the years while learning to use Linux. The commands come first. The = signs do not go in the commands. They are only separating the commands from the descriptions. I should probably rewrite this one day to make it easier to read. Maybe it will be useful to someone.

    cat /proc/cpuinfo=CPU info
    cd=change directory
    convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm=change picture into grub splash.
    cp=copy
    df -h=disk space usage
    dmesg=startup activity
    free -m=memoryusage
    glxgears=check 3d graphics
    glxinfo=opengl info
    ifconfig=network configuration info
    locate=find target
    lsb_release -a=OS info
    lshw=list hardware
    ls=list contents
    lspci=list pci devices
    man command | col -b > file.txt=save man uotput to file
    man -f=man title of target
    man intro=user commands help
    man -k=man file for target
    man man=man manual
    mkdir=make directory
    mv=move
    netstat -l --tcp --udp (and then) watch -n 1 netstat -an --tcp --udp=watch port activities
    rmdir=remove directory
    rm=remove
    rm -r=remove all
    sudo apt-cache=debian apt library
    sudo apt-cache search (search subject)=Search debian repo for apps
    sudo apt-get dist-upgrade=upgrade all
    sudo apt-get update=update sources.list
    sudo cp /<filename.backup>/<filename>=reset to backup file
    sudo deborphan | xargs sudo apt-get -y remove –purge=remove orphans
    sudo dmidecode=Bios info
    sudo dpkg -l | cut -d " " -f 3=list installed packages
    sudo dpkg-reconfigure menu sudo dpkg-reconfigure menu-xdg (reboot)=fix Debian menu
    sudo dpkg-reconfigure xserver-xorg=Reconfigure periphials, graphics
    sudo fdisk -l=View Hard drive partitions
    sudo hdparm -l /dev/sda=hard drive settings
    sudo hdparm -tT /dev/sda=hard drive speed
    sudo ln -s ~/.themes /root/.themes sudo ln -s ~/.icons /root/.icons sudo ln -s ~/.fonts /root/.fonts=make root look like user
    top=system,processes,resources,cpu,ram,etc. info
    uname -a=kernel version
    whereis program-name=location of program/man page
    which <program name>=location of program

    Klaatu Barada Nikto

    #2
    Re: My personal list of terminal commands

    That is a VERY nice list -- THANKS!

    Comment


      #3
      Re: My personal list of terminal commands

      That is a very useful list. Hope you don't mind, I took the liberty of tidying it up a bit (like you do your house before your mother visits )

      cat /proc/cpuinfo
      CPU info

      cd
      change directory

      convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
      change picture into grub splash.

      cp
      copy

      df -h
      disk space usage

      dmesg
      startup activity

      free -m
      memoryusage

      glxgears
      check 3d graphics

      glxinfo
      opengl info

      ifconfig
      network configuration info

      locate
      find target

      lsb_release -a
      OS info

      lshw
      list hardware

      ls
      list contents

      lspci
      list pci devices

      man command | col -b > file.txt
      save man output to file


      man -f
      man title of target

      man intro
      user commands help

      man -k
      man file for target

      man man
      man manual

      mkdir
      make directory

      mv
      move

      netstat -l --tcp --udp (and then) watch -n 1 netstat -an --tcp –udp
      watch port activities

      rmdir
      remove directory

      rm
      remove

      rm -r
      remove all

      sudo apt-cache
      debian apt library

      sudo apt-cache search (search subject)
      Search debian repo for apps

      sudo apt-get dist-upgrade
      upgrade all

      sudo apt-get update
      update sources.list

      sudo cp /<filename.backup>/<filename>
      reset to backup file

      sudo deborphan | xargs sudo apt-get -y remove –purge
      remove orphans


      sudo dmidecode
      Bios info

      sudo dpkg -l | cut -d " " -f 3
      list installed packages

      sudo dpkg-reconfigure menu sudo dpkg-reconfigure menu-xdg (reboot)
      fix Debian menu

      sudo dpkg-reconfigure xserver-xorg
      Reconfigure peripherals, graphics

      sudo fdisk -l
      View Hard drive partitions

      sudo hdparm -l /dev/sda
      hard drive settings

      sudo hdparm -tT /dev/sda
      hard drive speed

      sudo ln -s ~/.themes /root/.themes sudo ln -s ~/.icons /root/.icons sudo ln -s ~/.fonts /root/.fonts
      make root look like user

      top
      system,processes,resources,cpu,ram,etc. info

      uname -a
      kernel version

      whereis program-name
      location of program/man page

      which <program name>
      location of program
      I wish I was the man my dog thinks I am.<br /><br />Registered Linux User No. 402825

      Comment


        #4
        Re: My personal list of terminal commands

        Yeah, that looks better. Thanks. I cleaned up my commands document after posting this I was used to seeing it that way. I didn't notice how disheveled it looked until I looked at it on the forum.
        Klaatu Barada Nikto

        Comment


          #5
          Re: My personal list of terminal commands

          Glad help a tiny bit.
          I wish I was the man my dog thinks I am.<br /><br />Registered Linux User No. 402825

          Comment

          Working...
          X