Select category to view:

  • .Command Line General

    Good Resources

    The Linux Command Line – free pdf book

    (more…)

    Break

    On the Raspberry Pi Command Line

    Break

    CTRL + Break

    Via SSH Terminal Programs

    (more…)

    File System

    General

    
    
    Up and Down cursor keys
    Select previous commands
    
     --help
    Use after a command to get help on its options
    

    (more…)

    Help

    Displaying a programs options

    Type this on the command line:

    
    program_name --help
    

    (more…)

    Processes

    Show processes

    
    ps -ef
    List processes
    
    ps ax
    List processes
    

    (more…)

    Root user privileges

    After logging in as user pi, using this command give you root user privileges:

    sudo su

    (more…)

    Searching For Files

     

    Install mlocate

    
    sudo apt-get install mlocate
    sudo updatedb
    

    (more…)

    Shutdown

    Use this

    
    sudo halt
    

    This is the longer method

    (more…)

    Sleep

    Can be useful when chainging commands together in scripts etc:

    
    sleep 5
    

    (more…)

    Soft Reset

    For the Debian installation at the command prompt enter:

    
    sudo shutdown "now" -r
    

    (more…)

    tar, for zipping files, directories, etc

    Show all options

    
    tar --help
    

    Create Archive Of Specific Files

    (more…)