Linux Help

More out of necessity rather than choice, which is typically always the case with IT/geek related things I have learned and know how to do, I am using the Linux command line more these days. This is a list of commands and tricks I have learned that I use, which I am posting for my own reference as well as for others who may benefit.Handy LINUX commands for referenceShift-Insert pastes the clipboard’s text into the terminalUp arrow displays the last terminal commandTab completes the path name or file nameCLEAR (like cls in DOS to clear the current terminal window screen)ls (like dir in DOS, shows a current directory file listing)cp (like copy in DOS)cd .. (changes the directory down one level, just like DOS)sudo (preceed a command with sudo to do that command as root, will require the root password)sudo -s -H (for the current terminal session, this keeps you logged in as root)My updated Linux-related social bookmarks are also available.

  • Pingback: Moving at the Speed of Creativity » Blog Archive » Linux help

  • Joshua Gay

    Hi,

    You might want to consider learning a bit more about the free software movement and the GNU project. A great place to start is by visiting http://www.gnu.org/philosophy/philosophy.html — if you have any questions, please feel free to email me.

    I think it would be especially great if throughout your site you made mention of “free” instead of (or in addition to) “open source,” because talking about freedom is important. Similarly, it would be great if you mentioned “GNU” when talking about “Linux,” since it is more accurate and gives credit where credit is due :-)

    -Joshua Gay,

    Free Software Foundation, campaigns manager
    TextbookRevolution.org, editor/programmer
    FreeTextbookProject.org — coming soon!

  • http://jasperstreet.homeip.net/iunix Geoff St. Pierre

    Sometimes it is useful to glue two or more commands together, for instance:

    ps – report a snapshot of the current processes.

    and

    Grep searches the named input FILEs (or standard input if no files are named, or the file name – is given) for lines containing a match to the given PATTERN. By default, grep prints the matching lines.

    I often do something like:

    ps -aux | grep apache

    to for instance see if my apache webserver is running or:

    ps -aux | grep

    to see all the processes of a given user.

    ~Geoff

© Creative Commons License