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

Thread: Some terminal basics you might want to know

  1. #1
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    318 times
    Points
    26,077

    Some terminal basics you might want to know

    Some terminal basic instructions you might want to know.

    Code:
    rm - remove file
    rm -rf  - remove folder
    cp - copy, good for one file or copying a folder, but not what's inside
    cp -r - copies inside the folder
    sudo - Run things as admin, for a limited time, basically, root do.
    su - Substitute user for root
    htop - (might need to install it) like Task manger for Windows
    ls - Lists basic information about files and folders in current directory
    ls -a - shows hidden files too
    
    apt-get - Debian-based package manager.
    OPTIONS: apt-get remove, apt-get install, apt-get purge, apt-get update, apt-get upgrade
    pacman - Arch Linux package management
    OPTIONS - pacman -r, pacman -S [syncs, then installs], (no purge), (see pacman -S) ,pacman -Syu
    nano - Easy to use text editor, Control key plus the key shown is what's needed to make the functions work
    ifconfig - like IPCONFIG in Windows but FAR more useful, even showing your eth#
    ping -cx - like PING for Windows, but you must add the -c followed by a number, or it will constantly ping a server.
    Control+C - Cancels a running operation
    Control+Z - Pauses a running process
    chmod  - Permissions editing NOTE: CHMOD is hard to explain, but suffice to say, read this article. Javascript editor on there to show you want you need to edit CHMOD with values
    pwd - Print Working Directory - prints your current location in terminal
    
    - Reminded by LizardMan -
    
    cd - change directory
    
    - Suggested by Raymond -
    
    ps x - lists running tasks PID
    kill -9 PID# - Force kill a running task, by PID. Use with previous command
    If there's any others you want added, let me know.
    Last edited by hellnoire; 09-05-2011 at 12:19 PM.
    pacman -Syyu life not found in sync db

  2. #2
    sm1
    sm1 is offline
    Experienced User
    Overall activity: 5.0%

    Join Date
    Nov 2009
    Posts
    769
    Liked
    57 times
    Points
    8,760
    Thanks Paul

  3. #3
    Moderator
    Overall activity: 100.0%

    Join Date
    May 2010
    Location
    Eire /The Garden of Ireland
    Posts
    5,486
    Liked
    1749 times
    Points
    31,018
    Thank you Paul, this would make a good sticky,

  4. #4
    I'd rather be fishing!
    Overall activity: 0%

    Join Date
    Jan 2011
    Location
    Minnesota, USA
    Posts
    3,155
    Liked
    1543 times
    Points
    4,220
    Thanks for sharing this list of commands hellnoire, it will be handy to have a reference like this available.
    Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!

  5. #5
    Banned
    Overall activity: 0%

    Join Date
    Oct 2009
    Location
    Earth
    Posts
    790
    Liked
    113 times
    Points
    16,820
    Quote Originally Posted by hellnoire View Post
    If there's any others you want added, let me know.
    Thank you I knew some. It's another one I suggest: cd - entering to a directory

  6. #6
    Experienced User
    Overall activity: 26.0%

    Join Date
    Oct 2010
    Location
    North Carolina USA
    Posts
    1,288
    Liked
    214 times
    Points
    5,508
    Thanks for the list, it will come in handy.
    Linux Distro at the moment Fedora 17 / Firefox 12.0

  7. #7
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    318 times
    Points
    26,077
    Quote Originally Posted by LizardMan View Post
    Thank you I knew some. It's another one I suggest: cd - entering to a directory
    Added. Can't believe I forgot that one. Most likely because I use it so often...

    Updated the list a little.

  8. #8
    Verified Member
    Overall activity: 0%

    Join Date
    Aug 2011
    Location
    India
    Posts
    72
    Liked
    13 times
    Points
    1,136
    This Link has Some More Commands which will help u

  9. #9
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    318 times
    Points
    26,077
    Quote Originally Posted by ForgottenSiN View Post
    This Link has Some More Commands which will help u
    I'm trying to cover some common ones that people will use daily. Last time I had to use alias, or builtin... was never

  10. #10
    Star
    Overall activity: 62.0%

    Join Date
    Nov 2009
    Location
    United States
    Posts
    1,016
    Liked
    862 times
    Points
    32,631
    Thanks for starting this thread hellnoire. I know it will be helpful to me.
    In loving memory of my Grandpa John and Great Uncle Barry.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Learn the Basics of Photoshop | Lifehacker
    By Ceyfer √ in forum Graphics and Design
    Replies: 6
    Last Post: 03-24-2011, 10:54 PM
  2. Manipulation Basics: Illumination and Coloration
    By hsakarp_kahtap in forum Graphics and Design
    Replies: 4
    Last Post: 09-15-2010, 08:52 AM
  3. Ubuntu/Linux terminal command guides
    By Lateralus in forum Linux
    Replies: 24
    Last Post: 07-20-2009, 11:58 PM
  4. Basics about Hackers!
    By pottas in forum Spyware/Viruses
    Replies: 13
    Last Post: 10-22-2008, 12:47 AM
  5. HYPER TERMINAL
    By MYTH in forum General Forum
    Replies: 2
    Last Post: 01-29-2007, 03:16 AM
All times are GMT +8. The time now is 04:32 AM.