Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
So I can run commands without root access? I am sure that I will not be able to run commands that only root can, but I can still run something ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Dec 2006
    Posts
    12

    One more thing...


    So I can run commands without root access? I am sure that I will not be able to run commands that only root can, but I can still run something without it? Just curious...

  2. #12
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Indeed! For instance, the command 'cp' that copies is a file, is an actual program that you have access to. Only root can run commands like fdisk (partitioning program), useradd (add a new user, obviously), or such things, but most commands are available to everyone.

    Okay

    You download the source to the remote server. You can use the command 'wget' to do this, or you can download it to your local computer and use FTP to place it on the remote server.

    Once having done this, you 'extract' it. Source almost always comes in a .tar.gz or .tar.bz2 file. 'gz' and 'bz2' (gunzip and bunzip2 respectively) are both compression algorithms, while 'tar' is an archiving algorithm. So a .tar is many files displayed as one, and a .gz or .bz2 is a compressed form of whatever the file is.

    So to extract the files, do this from the directory where the source is located (use the 'cd' command to change directories):
    Code:
    If a .gz:
    tar xvfz NAME_OF_GZ_FILE
    
    If a .bz2:
    tar xvfj NAME_OF_BZ2_FILE
    'tar' manipulates archives. 'x' means extract, 'v' means verbose, 'f' means a file (as opposed to you manually typing in an archive), 'z' means 'also decompress a gunzip file', and 'j' means 'also decompress a bunzip2 file'.

    So far so good?

    Once you've run the command, a new directory will be created. Use 'cd' to move into that directory. You can then run the configure and make commands.

    All good?

  3. #13
    Just Joined!
    Join Date
    Dec 2006
    Posts
    12
    Thank you guys for all of your help! I finally logged in as root, but I was using the wrong user name and password!

  4. $spacer_open
    $spacer_close
Page 2 of 2 FirstFirst 1 2

Posting Permissions

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