Results 1 to 9 of 9

Thread: [SOLVED] Is this command safe???

  1. #1
    Join Date
    Nov 2008
    Location
    U.S.
    Beans
    954
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Wink [SOLVED] Is this command safe???

    Hello, i just got advice from someone on another forum, to run certain commands on my computer, using a LiveCD (i actually have ubuntu 8.10 INSTALLED on my computer, but i cant get into it right now, because of a crc error). however, since i happened to read that warning announcement about malicious commands, i wanted to check here first to make sure that it is legit!

    Here is the commands:

    Code:
    gksu nautilus
    cp
    according to the guy that wrote it, the first one allows u to run the file browser as root, and the second one is a terminal command to copy files!

    Is this true or not?

    Looking forward to any and all replies...

    Last edited by Jammanuser; December 2nd, 2008 at 10:22 PM. Reason: chose wrong word and wanted to correct it...

  2. #2
    Join Date
    Nov 2008
    Location
    van, down by the river
    Beans
    87
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Is this command safe???

    according to the guy that wrote it, the first one allows u to run the file browser as root, and the second one is a terminal command to copy files!

    Is this true or not?
    true for second. first should be gksu nautilus
    Last edited by pennacook; December 2nd, 2008 at 10:13 PM.
    "Oh. This is getting hit on the head lessons in here."

    -- Monty Python Argument Sketch

  3. #3
    Join Date
    Apr 2008
    Location
    England
    Beans
    603
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is this command safe???

    Yeh. As above should be nautilus not nautikus. Otherwise all fine.

  4. #4
    Join Date
    Nov 2008
    Location
    U.S.
    Beans
    954
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Wink Re: Is this command safe???

    Quote Originally Posted by pennacook View Post
    true for second. first should be gksu nautilus
    oh...right!!! that was simply a typo...i meant "nautilus"!

    i'll fix it immediately...

    Cheers!

  5. #5
    Join Date
    Nov 2008
    Location
    U.S.
    Beans
    954
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Wink Re: Is this command safe???

    Quote Originally Posted by Sub101 View Post
    Yeh. As above should be nautilus not nautikus. Otherwise all fine.
    ok...cool! just checking!!!

    Thanks!

  6. #6
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: Is this command safe???

    Jammanuser, if you happen to be in the same situation in the future I want to mention that you can read the manual page for a command by typing man (command name) in a terminal. For example: man cp would open the manual page for the copy command. In this way you can read for yourself what a command will do before you use it.

  7. #7
    Join Date
    Nov 2008
    Location
    U.S.
    Beans
    954
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Wink Re: Is this command safe???

    Quote Originally Posted by gTinker View Post
    Jammanuser, if you happen to be in the same situation in the future I want to mention that you can read the manual page for a command by typing man (command name) in a terminal. For example: man cp would open the manual page for the copy command. In this way you can read for yourself what a command will do before you use it.
    ahh...ok! Thanks!

    Cheers!

    -jammanuser

    Beware of the ninja that lurks behind every tree, bush...and IN every house! Take care not to offend him or you will risk his wrath falling down upon you...along with the wrath of a thousand other ninja!

  8. #8
    Join Date
    May 2008
    Beans
    58

    Re: Is this command safe???

    And incase you can't read the manpages,

    the command "cp" won't do anything by itself, you need to tell it what to copy and to where...

    example:

    Code:
    cp /home/user/file.filetype /home/user/folder/file.filetype
    Whould copy the file that is in /home/user/ (your home directory, and user is your username) and named file.filetype to inside of a folder named "folder" and it would have the same name as the source file.

  9. #9
    Join Date
    Oct 2007
    Location
    wrong planet
    Beans
    746
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: [SOLVED] Is this command safe???

    You could of found the answer to your questions by using the man command and reading the Descriptions.

    For example:

    man nautilus

    DESCRIPTION
    This manual page documents briefly the nautilus command. This manual
    page was written for the Debian GNU/Linux distribution because the
    original program does not have a manual page.

    Nautilus is the file manager for the GNOME desktop.

    man cp

    NAME
    cp - copy files and directories

    DESCRIPTION
    Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
    Linux Advanced Guides and News!
    http://linuxinnovations.blogspot.com/

    Green means go, Yellow means faster, Red means don't stop.

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
  •