Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 65

Thread: Share your commandline cheat sheets

  1. #11
    Join Date
    Jul 2006
    Beans
    1,152

    Re: Share your commandline cheat sheets

    Quote Originally Posted by billgoldberg View Post
    Interesting.
    Aliases are very handy. See this thread for more of them.

  2. #12
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Share your commandline cheat sheets

    Quote Originally Posted by urukrama View Post
    Aliases are very handy. See this thread for more of them.
    I know what aliases are, just the commands used in laroza's bashrc file seem very handy.

  3. #13
    Join Date
    Dec 2006
    Beans
    702
    Distro
    Ubuntu

    Re: Share your commandline cheat sheets

    Quote Originally Posted by LaRoza View Post
    Code:
    ~$cat .bashrc | grep "alias"
    # ~/.bash_aliases, instead of adding them here directly.
    alias code='cd /media/STORAGE/code/'
    alias ccode='cd /media/STORAGE/cCode/'
    alias py='cd /media/STORAGE/code/pythonCode/'
    alias tti='./ttime'
    alias off='/home/laroza/off'
    alias search='apt-cache search'
    alias install='sudo aptitude install'
    alias clean='sudo apt-get clean && sudo apt-get autoremove'
    alias upgrade='sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoclean && sudo apt-get clean'
    alias pingg='ping -c 1 www.google.com'
    alias targz="tar -xvvzf"
    alias headset='asoundconf set-default-card headset'
    alias intel='asoundconf set-default-card intel'
    alias black='/home/laroza/p/.setroot'
    alias tarup='tar -cvvf'
    ~$
    I am curious, what are these two alias for? I highlighted them in red.


  4. #14
    Join Date
    Dec 2006
    Beans
    702
    Distro
    Ubuntu

    Re: Share your commandline cheat sheets

    Quote Originally Posted by billgoldberg View Post
    Ok, I have been needing to do this for a long time.

    I need a cheat sheet of commands.

    I know there are some on the web, but they are mostly basic lists.

    Do you have a list with useful commands?

    Share them.

    (I'll be happy to rip them)

    ps: I have a basic one here:

    http://linuxowns.wordpress.com/2008/...y-cheat-sheet/
    I would be happy to share mine once I am home tonight, at work at the moment.


  5. #15
    Join Date
    May 2008
    Location
    on the road
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Share your commandline cheat sheets


  6. #16
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Share your commandline cheat sheets

    Keep em coming.

    When I have enough I'll toss them all into one big text file and offer it as a download for all to enjoy.

  7. #17
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Share your commandline cheat sheets

    Quote Originally Posted by Nxion View Post
    I am curious, what are these two alias for? I highlighted them in red.
    Programs I wrote for my own use. One alters an X setting, which I don't use anymore and the other runs a clock I wrote.

  8. #18
    Join Date
    Jun 2006
    Location
    $ pwd _
    Beans
    3,999
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Share your commandline cheat sheets

    Most of the commands have already been posted. Here are the few others (as much as I could remember)

    Code:
    thunar -B
    I use the following commands in BASH scripts for mass updation.
    Code:
    id3v2 -D <file>.mp3
    mp3gain -r -k <file>.mp3
    convert cover.jpg -scale 100x100 cover.bmp
    Other convert tricks

  9. #19
    Join Date
    Jun 2006
    Beans
    27

    Re: Share your commandline cheat sheets

    Some neat tricks via dcop. Might be usefull in some scripts or as aliases.
    You can not use these commands in KDE4 (D-BUS) without specific KDE 3 program.
    Code:
    dcop klipper klipper getClipboardContents
    dcop klipper klipper setClipboardContents "content"
    dcop kmix Mixer0 setMasterVolume <0-100>
    dcop kicker kicker restart

  10. #20
    Join Date
    Feb 2007
    Beans
    521
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Share your commandline cheat sheets

    Code:
    alias ..='cd ..'  #easy go up
    alias lost_prompt='export PS1="\[\033[01;32m\]>: "' #4 8 15 16 23 42
    alias gpsa='ps -A | grep' #check if a process is running
    more later...
    make install - not war!

    Oh hai!

Page 2 of 7 FirstFirst 1234 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •