Difference between revisions of "Linux Tools"

From Pikes Peak Makerspace Wiki
Jump to navigation Jump to search
(Created page with "== '''Linux Tools for Beginners''' == === '''Command Line''' ===     '''apropos''' – search the manual page names and descriptions     '''clear''' – clear the termin...")
 
 
(75 intermediate revisions by the same user not shown)
Line 1: Line 1:
== '''Linux Tools for Beginners''' ==
+
'''Learn about the software that we have installed for all our members''' at Pikes Peak Makerspace (PPM).
 +
<br>
 +
<br>
 +
[[File:Level 1 badge.png|alt=Level 1 badge used at Pikes Peak Makerspace|left|frameless|90x90px|PPM MEMBER USE]]
 +
Use of software installed on PPM computers does not require any additional required training (Level 1).
 +
<br>
 +
<br>
 +
<br>
 +
<br>
 +
<br>
 +
{{Template:Contact Us}}
  
=== '''Command Line''' ===
+
<p style="padding:0.2em 0.4em; background:#ff6c00; color:#FFFFFF; font-size:15%;"> &nbsp; </p>
    '''apropos''' – search the manual page names and descriptions
+
<br>
 +
[[File:Burst.png|alt=burst of white rays on orange background|link=https://wiki.pikespeakmakerspace.org/index.php/About_PPM|right|frameless|250x250px]]
  
    '''clear''' – clear the terminal screen
+
==Linux Tools for Beginners==
  
    '''echo''' – display a line of text
+
===Command Line===
 +
    '''<code>apropos</code>''' – search the manual page names and descriptions
  
    '''help''' – list of shell commands
+
    '''<code>clear</code>''' – clear the terminal screen
  
    '''history''' – track input from the user a line at a time
+
    '''<code>echo</code>''' – display a line of text
  
    '''info''' – read the info documents
+
    '''<code>help</code>''' – list of shell commands
  
    '''man''' – interface to the on-line reference manuals
+
    '''<code>history</code>''' – track input from the user a line at a time
  
    '''scrot''' – command line screen capture utility
+
    '''<code>info</code>''' – read the info documents
  
    '''whatis''' – display one-line manual page descriptions
+
    '''<code>man</code>''' – interface to the on-line reference manuals
  
=== '''Math Functions''' ===
+
    '''<code>say</code>''' – convert text to audible speech
    '''bc''' – basic calculator
 
  
    '''dc''' – RPN “Desktop Calculator”
+
    '''<code>scrot</code>''' – SCReenshOT utility (Raspberry Pi)
  
    '''log''' – natural logarithmic function
+
    '''<code>whatis</code>''' – display one-line manual page descriptions
  
    '''mathematica''' – open the app (Raspberry Pi)
+
=== File and Directory Management===
 +
    '''<code>alias</code>''' – define or display aliases
  
    '''sin''' – sine function
+
    '''<code>cd</code>''' – change the current directory
  
=== '''File and Directory Management''' ===
+
    '''<code>chown</code>''' – change file owner and group
    '''alias''' – define or display aliases
 
  
    '''cd''' – change the current directory
+
    '''<code>cp</code>''' – copy files and directories
  
    '''chown''' – change file owner and group
+
    '''<code>dd</code>''' – convert and copy a file
  
    '''cp''' – copy files and directories
+
    '''<code>dir</code>''' – list directory contents
  
    '''dd''' – convert and copy a file
+
    '''<code>file</code>''' – determine file type
  
    '''dir''' – list directory contents
+
    '''<code>ls</code>''' – list directory contents  
  
    '''file''' – determine file type
+
    '''<code>mkdir</code>''' – make directories
  
    '''git''' – fast, scalable, distributed revision control system
+
    '''<code>mv</code>''' – move (rename) files
  
    '''ls''' – list directory contents
+
    '''<code>pwd</code>''' – print working directory
  
    '''mkdir''' – make directories
+
    '''<code>rm</code>''' – remove files or directories
  
    '''mv''' – move (rename) files
+
    '''<code>scp</code>''' – secure copy
  
    '''pwd''' – print working directory
+
    '''<code>touch</code>''' – change file timestamps
  
    '''rm''' – remove files or directories
+
    '''<code>which</code>''' – locate a program file in the user's path
  
    '''scp''' – secure copy
+
===File Editing===
 +
    '''<code>awk</code>''' – pattern scanning and text processing language
  
    '''touch''' – change file timestamps
+
    '''<code>cut</code>''' – remove sections from each line of files
  
=== '''File Editing''' ===
+
    '''<code>gzip</code>''' – compress or expand already compressed files
    '''awk''' – pattern scanning and text processing language
 
  
    '''cut''' – remove sections from each line of files
+
    '''<code>nano</code>''' – Nano's ANOther editor, an enhanced free Pico clone
  
    '''expand''' – convert tabs to spaces
+
    '''<code>open</code>''' – open files and directories
  
    '''geany''' – a small and lightweight IDE  (Raspberry Pi)
+
    '''<code>pandoc</code>''' – [https://pandoc.org/ universal document converter]
  
    '''gzip''' – compress or expand files
+
    '''<code>sed</code>''' – stream editor
  
    '''nano''' – Nano's ANOther editor, an enhanced free Pico clone
+
    '''<code>tar</code>''' – manipulate tape archives
  
    '''scratch''' – easy to use interactive programming environment  (Raspberry Pi)
+
    '''<code>unzip</code>''' – list, test and extract compressed files in a ZIP archive
  
    '''sed''' – stream editor
+
===File Transfer===
 +
    '''<code>curl</code>''' – [https://curl.se/ "command line tool and library for transferring data with URLs"]
  
    '''tar''' – manipulate tape archives
+
    '''<code>wget</code>''' – retrieve files using HTTPS or FTPS
  
    '''vim''' – Vi IMproved, a programmers text editor
+
===File Viewing===
 +
    '''<code>cat</code>''' – concatenate and print files
  
=== '''File Transfer''' ===
+
    '''<code>column</code>''' – formats its input into multiple columns
    '''curl''' – transfer a URL
 
  
    '''wget''' – non-interactive download of files
+
    '''<code>diff</code>''' – compare 2 files line by line
  
=== '''File Viewing''' ===
+
    '''<code>find</code>''' – search for files in a directory hierarchy
    '''cat''' – concatenate and print files
 
  
    '''diff''' – compate 2 files line by line
+
    '''<code>grep</code>''' – print lines that match patterns
  
    '''find''' – search for files in a directory hierarchy
+
    '''<code>head</code>''' – output the first part of files
  
    '''grep''' – print lines that match patterns
+
    '''<code>jq</code>''' – [https://jqlang.github.io/jq/ lightweight and flexible command-line JSON processor]
  
    '''head''' – output the first part of files
+
    '''<code>less</code>''' – opposite of more
  
    '''less''' – opposite of more
+
    '''<code>locate</code>''' – faster version of find, depends on a database
  
    '''more''' – page through text one screenful at a time
+
    '''<code>look</code>''' – display lines beginning with a given string
  
    '''open''' and possibly create a file
+
    '''<code>more</code>''' – page through text one screenful at a time
  
    '''tail''' – output the last part of files
+
    '''<code>tail</code>''' – output the last part of files
  
    '''wc''' – word counts, and line and byte counts
+
    '''<code>wc</code>''' – word counts, and line and byte counts
  
    '''zgrep''' – search compressed files
+
    '''<code>zgrep</code>''' – search compressed files
  
=== '''Network Config''' ===
+
===Math Functions===
    '''ifconfig''' – configure network interface parameters
+
    '''<code>bc</code>''' – basic calculator
  
    '''ss''' – utility to investigate sockets
+
    '''<code>dc</code>''' – RPN “Desktop Calculator”
  
    '''ssh''' – OpenSSH SSH client (remote login program)
+
    '''<code>log</code>''' – natural logarithmic function
  
=== '''Network Monitoring''' ===
+
    '''<code>mathematica</code>''' – [https://www.wolfram.com/raspberry-pi/ open the app (Raspberry Pi)]
    '''ping''' – send ICMP ECHO_REQUEST packets to network hosts
 
  
    '''nc''' – arbitrary TCP and UDP connections and listens
+
    '''<code>sin</code>''' – sine function
  
    '''netstat''' – show network status
+
===Network Config===
 +
    '''<code>ifconfig</code>''' – configure network interface parameters
  
    '''traceroute''' – print the route packets take to network host
+
    '''<code>ipconfig</code>''' – "Internet Protocol configuration", refreshes DHCP and DNS settings on some systems
  
=== '''Package Management''' ===
+
    '''<code>ss</code>''' – utility to investigate sockets
    '''apt-get''' – APT package handling utility
 
  
    '''apt''' – APT package handling utility
+
    '''<code>ssh</code>''' – OpenSSH SSH client (remote login program)
  
    '''dnf''' – Fedora, successor to YUM
+
===Network Monitoring===
 +
    '''<code>ping</code>''' – send ICMP ECHO_REQUEST packets to network hosts
  
    '''homebrew''' – for macOS or Linux
+
    '''<code>nc</code>''' – arbitrary TCP and UDP connections and listens
  
    '''yum''' – Yellowdog Updater Modified (Fedora)
+
    '''<code>netstat</code>''' – show network status
  
    '''rpm''' – Red Hat and CentOS
+
    '''<code>traceroute</code>''' – print the route packets take to network host
  
    '''dpkg''' – package manager for Debian
+
===Package Managers===
 +
    '''<code>apt</code>''' – APT package handling utility
  
    '''snap''' – for Ubuntu
+
    '''<code>apt-get</code>''' – APT package handling utility
  
    '''zypper''' – for OpenSUSE
+
    '''<code>dnf</code>''' – for Fedora, (successor to YUM)
  
=== '''Process Management''' ===
+
    '''<code>dpkg</code>''' – for Debian
    '''bg''' – run a job/process in the background
 
  
    '''fg''' – run a job/process in the foreground
+
    '''<code>homebrew</code>''' – [https://brew.sh/ The Missing Package Manager for macOS (or Linux)]
  
    '''halt''' – halt, power-off or reboot the machine
+
    '''<code>rpm</code>''' – for Red Hat and CentOS
  
    '''htop''' – human readable table of processes
+
    '''<code>snap</code>''' – for Ubuntu
  
    jobs list all jobs; active, stopped, or otherwise
+
    '''<code>yum</code>''' for Fedora (Yellowdog Updater Modified)
  
    kill terminate or signal a process
+
    '''<code>zypper</code>''' for OpenSUSE
  
    killall kill processes by name
+
=== Process Management===
 +
    '''<code>bg</code>''' run a job/process in the background
  
    ps – process status
+
    '''<code>fg</code>''' run a job/process in the foreground
  
    tmux terminal multiplexer
+
    '''<code>fuser</code>''' list processes that have one or more files open
  
    top table of processes
+
    '''<code>halt</code>''' halt, power-off or reboot the machine
  
    pstree display a tree of processes
+
    '''<code>htop</code>''' human readable table of processes
  
    shutdown halt, power-off or reboot the machine
+
    '''<code>jobs</code>''' list all jobs; active, stopped, or otherwise
  
    reboot halt, power-off or reboot the machine
+
    '''<code>kill</code>''' terminate or signal a process
  
    sudo execute a command as another user
+
    '''<code>killall</code>''' kill processes by name
  
'''System Info'''
+
    '''<code>ps</code>''' – process status
  
    arch Print machine hardware name (architecture)
+
    '''<code>pstree</code>''' display a tree of processes
  
    date print or set the system date and time
+
    '''<code>reboot</code>''' halt, power-off or reboot the machine
  
    df display free disk space
+
    '''<code>shutdown</code>''' halt, power-off or reboot the machine
  
    du display disk usage statistics
+
    '''<code>sudo</code>''' execute a command as another user
  
    fc-list list available fonts  (Raspberry Pi)
+
    '''<code>tmux</code>''' terminal multiplexer
  
    free display amount of free and used memory in the system
+
    '''<code>top</code>''' table of processes
  
    hostname show or set the system's host name
+
===Programming===
 +
    '''<code>geany</code>''' [https://www.geany.org/ a small and lightweight IDE (Raspberry Pi)]
  
    lsblk list block devices
+
    '''<code>git</code>''' [https://git-scm.com/ distributed revision control system]
  
    lscpu list information about the CPU architecture
+
    '''<code>scratch</code>''' [https://scratch.mit.edu/ easy to use interactive programming environment (Raspberry Pi)]
  
    lshw list hardware
+
    '''<code>vim</code>''' Vi IMproved, a programmers text editor
  
    lsusb list USB devices
+
===System Info===
 +
    '''<code>arch</code>''' print machine hardware name (architecture)
  
    time get time in seconds
+
    '''<code>cal</code>''' print a calendar
  
    uname – print operating system name
+
    '''<code>date</code>''' – print or set the system date and time
  
    uptime print up time and load
+
    '''<code>df</code>''' display free disk space
  
'''User and Group Management'''
+
    '''<code>du</code>''' – display disk usage statistics
  
    groupadd create a new group
+
    '''<code>fc-list</code>''' list available fonts (Raspberry Pi)
  
    groupdel delete a group
+
    '''<code>free</code>''' display amount of free and used memory in the system
  
    groups – show group memberships
+
    '''<code>hostname</code>''' – show or set the system's host name
  
    id return user identity
+
    '''<code>lsblk</code>''' list block devices
  
    passwd modify a user's password
+
    '''<code>lscpu</code>''' list information about the CPU architecture
  
    useradd create a new user or update default new user info
+
    '''<code>lshw</code>''' list hardware
  
    userdel delete a user account and related files
+
    '''<code>lsusb</code>''' list USB devices
  
    usermod modify a user account
+
    '''<code>time</code>''' get time in seconds
  
    who – print effective user ID
+
    '''<code>uname</code>''' – print operating system name
  
    whoami – print the user name
+
    '''<code>uptime</code>''' – print up time and load
  
––-
+
=== User and Group Management===
 +
    '''<code>groupadd</code>''' – create a new group
 +
 
 +
    '''<code>groupdel</code>''' – delete a group
 +
 
 +
    '''<code>groups</code>''' – show group memberships
 +
 
 +
    '''<code>id</code>''' – return user identity
 +
 
 +
    '''<code>passwd</code>''' – modify a user's password
 +
 
 +
    '''<code>useradd</code>''' – create a new user or update default new user info
 +
 
 +
    '''<code>userdel</code>''' – delete a user account and related files
 +
 
 +
    '''<code>usermod</code>''' – modify a user account
 +
 
 +
    '''<code>who</code>''' – print effective user ID
 +
 
 +
    '''<code>whoami</code>''' – print the user name
 +
==Hand-Curated Links==
 +
'''Links to member-recommended external sites:'''
 +
:'''[[wikipedia:List_of_POSIX_commands|List of POSIX commands]]''' — on Wikipedia
 +
 
 +
==Additional Help==
 +
'''Links to related PPM Wiki pages:'''
 +
 
 +
:'''[[GitHub Tips]]'''
 +
 
 +
:[[Computers — Ubuntu|<span style="color:#000000; background:#D0DD27">&nbsp;&nbsp;'''Computers — Ubuntu'''&nbsp;&nbsp;</span>]]
 +
 
 +
:[[Computers — Mac and Apple|<span style="color:#000000; background:#D0DD27">&nbsp;&nbsp;'''Computers — Mac and Apple'''&nbsp;&nbsp;</span>]]
 +
 
 +
:[[Computers|<span style="color:#000000; background:#D0DD27">&nbsp;&nbsp;'''Computers — Windows'''&nbsp;&nbsp;</span>]]
 +
 
 +
:[[Infrastructure at PPM|<span style="color:#000000; background:#D0DD27">&nbsp;&nbsp;'''Infrastructure at PPM'''&nbsp;&nbsp;</span>]]
 +
 
 +
:[[Raspberry Pi|<span style="color:#ffffff; background:#864199">&nbsp;&nbsp;'''Raspberry Pi'''&nbsp;&nbsp;</span>]]
 +
 
 +
:Use the PPM Slack channel #computing
 +
:[[How To Slack#PPM Channel Names and Descriptions|'''List of all PPM Slack channels''']]
 +
:Note that we have a Slack channel (#job-board) for members to post, discuss, or accept job opportunities either within PPM or from the&nbsp;community.<br>
 +
{{Template:Footer}}
 +
<p style="padding:0.2em 0.4em; background:#ff6c00; color:#FFFFFF; font-size:15%;"> &nbsp; </p>
 +
 
 +
[[Category:Software]]

Latest revision as of 16:51, 17 February 2025

Learn about the software that we have installed for all our members at Pikes Peak Makerspace (PPM).

Level 1 badge used at Pikes Peak Makerspace

Use of software installed on PPM computers does not require any additional required training (Level 1).




Contact Us if you cannot find your answer here on our Wiki or if you notice any information that is outdated.

 


burst of white rays on orange background

Linux Tools for Beginners

Command Line

    apropos – search the manual page names and descriptions

    clear – clear the terminal screen

    echo – display a line of text

    help – list of shell commands

    history – track input from the user a line at a time

    info – read the info documents

    man – interface to the on-line reference manuals

    say – convert text to audible speech

    scrot – SCReenshOT utility (Raspberry Pi)

    whatis – display one-line manual page descriptions

File and Directory Management

    alias – define or display aliases

    cd – change the current directory

    chown – change file owner and group

    cp – copy files and directories

    dd – convert and copy a file

    dir – list directory contents

    file – determine file type

    ls – list directory contents

    mkdir – make directories

    mv – move (rename) files

    pwd – print working directory

    rm – remove files or directories

    scp – secure copy

    touch – change file timestamps

    which – locate a program file in the user's path

File Editing

    awk – pattern scanning and text processing language

    cut – remove sections from each line of files

    gzip – compress or expand already compressed files

    nano – Nano's ANOther editor, an enhanced free Pico clone

    open – open files and directories

    pandocuniversal document converter

    sed – stream editor

    tar – manipulate tape archives

    unzip – list, test and extract compressed files in a ZIP archive

File Transfer

    curl"command line tool and library for transferring data with URLs"

    wget – retrieve files using HTTPS or FTPS

File Viewing

    cat – concatenate and print files

    column – formats its input into multiple columns

    diff – compare 2 files line by line

    find – search for files in a directory hierarchy

    grep – print lines that match patterns

    head – output the first part of files

    jqlightweight and flexible command-line JSON processor

    less – opposite of more

    locate – faster version of find, depends on a database

    look – display lines beginning with a given string

    more – page through text one screenful at a time

    tail – output the last part of files

    wc – word counts, and line and byte counts

    zgrep – search compressed files

Math Functions

    bc – basic calculator

    dc – RPN “Desktop Calculator”

    log – natural logarithmic function

    mathematicaopen the app (Raspberry Pi)

    sin – sine function

Network Config

    ifconfig – configure network interface parameters

    ipconfig – "Internet Protocol configuration", refreshes DHCP and DNS settings on some systems

    ss – utility to investigate sockets

    ssh – OpenSSH SSH client (remote login program)

Network Monitoring

    ping – send ICMP ECHO_REQUEST packets to network hosts

    nc – arbitrary TCP and UDP connections and listens

    netstat – show network status

    traceroute – print the route packets take to network host

Package Managers

    apt – APT package handling utility

    apt-get – APT package handling utility

    dnf – for Fedora, (successor to YUM)

    dpkg – for Debian

    homebrewThe Missing Package Manager for macOS (or Linux)

    rpm – for Red Hat and CentOS

    snap – for Ubuntu

    yum – for Fedora (Yellowdog Updater Modified)

    zypper – for OpenSUSE

Process Management

    bg – run a job/process in the background

    fg – run a job/process in the foreground

    fuser – list processes that have one or more files open

    halt – halt, power-off or reboot the machine

    htop – human readable table of processes

    jobs – list all jobs; active, stopped, or otherwise

    kill – terminate or signal a process

    killall – kill processes by name

    ps – process status

    pstree – display a tree of processes

    reboot – halt, power-off or reboot the machine

    shutdown – halt, power-off or reboot the machine

    sudo – execute a command as another user

    tmux – terminal multiplexer

    top – table of processes

Programming

    geanya small and lightweight IDE (Raspberry Pi)

    gitdistributed revision control system

    scratcheasy to use interactive programming environment (Raspberry Pi)

    vim – Vi IMproved, a programmers text editor

System Info

    arch – print machine hardware name (architecture)

    cal – print a calendar

    date – print or set the system date and time

    df – display free disk space

    du – display disk usage statistics

    fc-list – list available fonts (Raspberry Pi)

    free – display amount of free and used memory in the system

    hostname – show or set the system's host name

    lsblk – list block devices

    lscpu – list information about the CPU architecture

    lshw – list hardware

    lsusb – list USB devices

    time – get time in seconds

    uname – print operating system name

    uptime – print up time and load

User and Group Management

    groupadd – create a new group

    groupdel – delete a group

    groups – show group memberships

    id – return user identity

    passwd – modify a user's password

    useradd – create a new user or update default new user info

    userdel – delete a user account and related files

    usermod – modify a user account

    who – print effective user ID

    whoami – print the user name

Hand-Curated Links

Links to member-recommended external sites:

List of POSIX commands — on Wikipedia

Additional Help

Links to related PPM Wiki pages:

GitHub Tips
  Computers — Ubuntu  
  Computers — Mac and Apple  
  Computers — Windows  
  Infrastructure at PPM  
  Raspberry Pi  
Use the PPM Slack channel #computing
List of all PPM Slack channels
Note that we have a Slack channel (#job-board) for members to post, discuss, or accept job opportunities either within PPM or from the community.

Search the PPM Wiki — include Content pages as well as Multimedia.

Contact Us if you cannot find your answer here on our Wiki or if you notice any information that is outdated.