A List of Useful Ubuntu (Linux) Commands

There is an article at zaphu.com, A List of Useful Ubuntu (Linux) Commands, that has some decent recipes for Ubuntu beginners.

~ by paulkiley on November 9, 2008.

2 Responses to “A List of Useful Ubuntu (Linux) Commands”

  1. Oh I can’t wait to install my Ubuntu and test these commands out. Thank you for sharing your find.

  2. INSTALL package
    sudo apt-get install [PROGRAM]

    install fonts, java engines
    sudo apt-get install ubuntu-restricted-extras

    Merge multiple EPS/PDF into single PDF
    gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=[FILENAME].pdf -dBATCH *.eps
    OR
    gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=[FILENAME].pdf -dBATCH file1.pdf file2.pdf file3.pdf

    back up your entire user directory to an external hard drive:
    /usr/bin/rsync -av –delete /home/[HOME_FOLDER] /media/[EXTERNAL_DISK
    K]

    .iso image
    mkisofs -r -o [FILENAME].iso /cdrom/

    Display folder sizes
    du -cskh *

    Run MATLAB job without being logged in
    nohup matlab -nodisplay -nojvm output.txt &

    Enable Ubuntu Firewall
    sudo ufw enable
    Disable Ubuntu Firewall
    sudo ufw status

    All active internet connection
    sudo netstat -atup

    Find things
    locate ‘[SEARCH STRING]‘|xargs ls
    OR
    locate ‘[SEARCH STRING]‘|xargs ls -l

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.