Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: A couple of beginer questions

  1. #1
    Join Date
    Dec 2010
    Beans
    142

    A couple of beginer questions

    I see all these computer language inside of boxes on many of the forums . I would guess that they are made to be copied and pasted into a program or some place. Can you tell me when you get these lines of computer language, were do you put it and if there is 2-3 boxes in the message does that mean to copy the first box and bring it to were its suppose and paste it, then go back and retrieve the second box and paste it and so on. They also talk about the command line, is that the command line in the boot up page (I think typing in C). Is terminal another way to get to command line, if not what is terminal used for?

  2. #2
    Join Date
    Jan 2009
    Location
    Flanders
    Beans
    Hidden!

    Re: A couple of beginer questions

    http://linuxcommand.org/

    read this to get info on the command line. to start the command line under ubuntu, press CTRL+ALT+T or search it in the menu's under the name "terminal".

  3. #3
    Join Date
    Feb 2011
    Beans
    13

    Re: A couple of beginer questions

    Terminal provides you with a command line.

    Unless you're specifically told that you're interacting with Grub or whatever bootloader you have installed, then most of the time you'll be interacting with the commandline.

    Copy and paste is a bad idea most of the time as you can miss bits if you don't select the full line. Unless you have a very specific and very long command, I'd type it in.

  4. #4
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: A couple of beginer questions

    Yes the language inside [code] tags are commands and they are meant to be pasted in Applications > Accessories > Terminal.

    Code:
    e.g, this one
    But don't blindly follow any command from any website other than ubuntuforums as you don't know what that command is going to do.

    Neither blindly follow any command from the forums also unless you exactly you've got the same issue. If you are not sure, feel free to post a new Thread and let the mates answer you specifically.

    For copying the commands, you can highlight a line in your browser, open up Terminal and just hit middle-click button on your mouse. Or you can simply copy/paste.

    The commands that look like this.

    Code:
    command 1
    command 2
    command 3
    They need to be copied one by one and after the prior one has completed its operation and you are returned to your user@computer: prompt in Terminal.

    And when running a command as super-user with a sudo in front e.g,

    Code:
    sudo command
    It would ask for your password in the Terminal and when you type it, you wont see any characters or asterisks. You just need to type blindly and hit <Enter>.

  5. #5
    Join Date
    Jan 2011
    Location
    0x7C00
    Beans
    329
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: A couple of beginer questions

    It depends. Usually a different line is a new command to be executed after the previous. Copy-Paste may work, but not the best way to go.

    Hope this helps!
    Microsoft:"Why do you not use Windows?" Me: "Did you have to ask?"
    Enigmagroup.

  6. #6
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: A couple of beginer questions

    Quote Originally Posted by scouser27 View Post
    Copy and paste is a bad idea most of the time as you can miss bits if you don't select the full line. Unless you have a very specific and very long command, I'd type it in.
    I would rather say copy/paste is better for beginners as you are not going to mis-type anything or change case as Linux is case sensitive

  7. #7
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: A couple of beginer questions

    Quote Originally Posted by scouser27 View Post
    Copy and paste is a bad idea most of the time as you can miss bits if you don't select the full line.
    It's a matter of personal choice: I would tend to advise "copy and paste" in some situations, because there are times when it's more reliable.

    I've lost count of the times I've seen someone ask for the output of something like fdisk -l and the person responding has misread it as fdisk -1.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  8. #8
    Join Date
    Dec 2010
    Location
    Sometimes I visit earth
    Beans
    687

    Re: A couple of beginer questions

    I think it really depends on the users familiarity with Linux as to whether they should use copy and paste. There are a lot of new users out there that don't see the spaces in a command line, don't know where the piping symbol is, etc. For those users, and in watching the forum for many years there have been a lot, cut and paste is the way to go *IF* they remember one line at a time, stop if something errors out.

    Just my 2-cents worth.

  9. #9
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: A couple of beginer questions

    Feel free to ask for an explanation of the commands people post, too. People shouldn't ever post commands without explaining them in this forum, but it happens all the time. Don't run it until they've actually taken the time to explain it.

  10. #10
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: A couple of beginer questions

    I would suggest, that unless the op specifies what version he/she is running, we assume they are running Ubuntu, and give both a command line and gui solution to their problem.

Page 1 of 2 12 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
  •