Page 7 of 7 FirstFirst ... 567
Results 61 to 65 of 65

Thread: Share your commandline cheat sheets

  1. #61
    Join Date
    Feb 2005
    Location
    Geneva, Switzerland
    Beans
    976

  2. #62
    Join Date
    Aug 2006
    Location
    US
    Beans
    1,681

    Re: Share your commandline cheat sheets

    Here's a simple but good one to help you find the name of a command:

    Code:
    ls /usr/bin | grep "searchterm"
    Or for root commands

    Code:
    ls /usr/sbin | grep "searchterm"

  3. #63
    Join Date
    Oct 2008
    Beans
    314

    Re: Share your commandline cheat sheets

    My cheat sheet is quite obvious.


  4. #64
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Share your commandline cheat sheets

    Quote Originally Posted by dbbolton View Post
    Here's a simple but good one to help you find the name of a command:

    Code:
    ls /usr/bin | grep "searchterm"
    Or for root commands

    Code:
    ls /usr/sbin | grep "searchterm"
    If the command you want to find begins with "searchterm", you can just use tab-completion to do the search by entering the the search term, and then hitting tab twice to see a list of commands that begin with your search term, for example:
    Code:
    user@ubuntu-computer:~$ wh     <--press TAB twice and get:
    whatis    which     whiptail  whoami    
    whereis   while     who       whoi
    Of course tab-completion will search all paths in your $PATH, so if you specifically want to search /usr/bin or /usr/sbin, then your method would work. Also, if you want to search for "update-grub" by entering "grub", you would have to use something like your method since the tab completion would only find commands that start with "grub", like "grub-install".

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

    Re: Share your commandline cheat sheets

    Quote Originally Posted by Grant A. View Post
    My cheat sheet is quite obvious.

    how do you hook it up?

Page 7 of 7 FirstFirst ... 567

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
  •