Page 5 of 12 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 117

Thread: NEW UBUNTU USERS: Becoming friends with the terminal...

  1. #41
    Join Date
    Aug 2005
    Beans
    462

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    great post!

    i think i use the info command more than man. there's also man -k, or apropos (they give the same results) for "searching the manual page names and descriptions" e.g. -
    info info
    apropos bash

    there's the help command that prints out the names of all the builtin commands, then typing help the name of a builtin command e.g. -
    help alias

    to paste in to the terminal, one way of doing it is with the shift-insert keys; and the keys for copying are ctrl-insert

    pressing cd takes you back to your home directory

    to search through your bash history press ctrl-r then start typing until you get to the command you want

    to get back to the last directory you were in type cd - e.g. try this -
    cd /usr/share/icons/ <enter>
    cd <enter>
    cd -<enter>

    lsof is a great command, here's a link explaining it -
    http://dmiessler.com/study/lsof/

    also, here's another ubuntuforums post caled "Terminal for Beginners"
    http://ubuntuforums.org/showthread.php?t=73885
    Thanks to the forums staff for your dedication and hard work
    (the admins changed my sig to that lol )

  2. #42
    Join Date
    Feb 2008
    Location
    U.S.A
    Beans
    782

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    thank you to the topic starter,for telling me what that 10 character code of death does .I was about to put ubuntu on a spare computer and try it out lol until I seen that.

  3. #43
    Join Date
    Apr 2005
    Location
    Glasgow, Scotland
    Beans
    1,642

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Quote Originally Posted by Twitch6000 View Post
    thank you to the topic starter,for telling me what that 10 character code of death does .I was about to put ubuntu on a spare computer and try it out lol until I seen that.
    I wonder if this "campaign" on the forums has made people more likely to use it now.

    I quite like backticks, and also the !thing. e.g.

    Code:
    sudo aptitude remove `deborphan`
    Puts the output of deborphan in its place.

    Code:
    !ssh
    Finds the last use of the command "ssh", for me it's ssh -CX bruce@Scooby-Doo.
    A Fedora user

  4. #44
    Join Date
    Oct 2005
    Beans
    693

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Quote Originally Posted by Terry S View Post
    Thanks Massa a good intro to Terminal.
    Question: Why only copy & paste one line at a time?:
    It's due to the way text formatting works - if you copy the whole thing at once, the terminal will (if I recall correctly) only run the first line.

  5. #45
    Join Date
    Apr 2005
    Location
    Glasgow, Scotland
    Beans
    1,642

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Quote Originally Posted by Mazza558 View Post
    It's due to the way text formatting works - if you copy the whole thing at once, the terminal will (if I recall correctly) only run the first line.
    Not if you stick a \ at the end of each line.
    A Fedora user

  6. #46
    Join Date
    Mar 2008
    Location
    Pennsylvania
    Beans
    45
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    If you're referring people to man pages (like using "man sed" to read the sed man page), you might mention that a person can get back *out* of the man page by typing 'q' for 'quit'. This is non-obvious to new users -- ask me how I know.

    Also, I apparently can't read. It's already been covered.
    Last edited by which_chick; March 21st, 2008 at 01:05 AM.

  7. #47
    Join Date
    Aug 2007
    Beans
    2,132

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Nice guide, but sudo has never done it for me. Much better to just go to root with su and get things done.

  8. #48
    Join Date
    Oct 2007
    Beans
    142

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Quote Originally Posted by Cadmus View Post
    Code:
    man foobar
    Will show you the manual for the command 'foobar' (if it existed), replacing 'foobar' with any other command will show you the manual page.
    Man pages are usually very long. It looks scary and confusing for noob like me. I see many commands have the option --help. That's the first thing I will read for more info, and if that does not help then I might try to read the man page. That said I think it is good if you remind a noob of --help option.
    - [HTML=www.ubuntu.com]Ubuntu[/HTML] - [HTML=http://mugos.ums.ac.id]Solo mirror[/HTML]

  9. #49
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,319

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    so what you are saying in short is
    "sudo rm -rf /" = FUBAR ?
    The only dumb question is the one not asked.

    In service to the Dream

  10. #50
    Join Date
    Oct 2005
    Beans
    693

    Re: NEW UBUNTU USERS: Becoming friends with the terminal...

    Quote Originally Posted by stalkingwolf View Post
    so what you are saying in short is
    "sudo rm -rf /" = FUBAR ?
    Yup.

Page 5 of 12 FirstFirst ... 34567 ... LastLast

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
  •