Difference between revisions of "Introduction to Linux"
Line 1: | Line 1: | ||
− | == Data Streams == | + | ==Data Streams== |
− | === STDIO === | + | ===STDIO=== |
Standard Input/Output (STDIO) contains 3 main streams of data associates with a file handle which are STDIN (file handle:0), STDOUT (file handle:1), and STDERR (file handle:2). STDIO is used to stream output data from one program to the input of another program. | Standard Input/Output (STDIO) contains 3 main streams of data associates with a file handle which are STDIN (file handle:0), STDOUT (file handle:1), and STDERR (file handle:2). STDIO is used to stream output data from one program to the input of another program. | ||
− | === STDIN === | + | ===STDIN=== |
Standard Input (STDIN) is input from the keyboard. | Standard Input (STDIN) is input from the keyboard. | ||
− | === STDOUT === | + | ===STDOUT=== |
Standard Output (STDOUT) is output sent to the terminal. | Standard Output (STDOUT) is output sent to the terminal. | ||
− | === STDERR === | + | ===STDERR=== |
Standard Error (STDERR) is errors sent to the terminal. | Standard Error (STDERR) is errors sent to the terminal. | ||
Line 55: | Line 55: | ||
id | id | ||
− | === Power Management === | + | ===Power Management=== |
shutdown | shutdown | ||
− | === Command Information === | + | ===Command Information=== |
man | man | ||
Line 67: | Line 67: | ||
info | info | ||
− | === Password Management === | + | ===Password Management=== |
passwd | passwd | ||
chage | chage | ||
− | === User Management === | + | ===User Management=== |
useradd | useradd | ||
Line 79: | Line 79: | ||
userdel | userdel | ||
− | === Group Management === | + | ===Group Management=== |
groupadd | groupadd | ||
Line 85: | Line 85: | ||
groupdel | groupdel | ||
+ | |||
+ | == Permissions == | ||
+ | |||
+ | === Read === | ||
+ | |||
+ | === Write === | ||
+ | |||
+ | === Execute === |
Revision as of 14:31, 14 June 2020
Contents
Data Streams
STDIO
Standard Input/Output (STDIO) contains 3 main streams of data associates with a file handle which are STDIN (file handle:0), STDOUT (file handle:1), and STDERR (file handle:2). STDIO is used to stream output data from one program to the input of another program.
STDIN
Standard Input (STDIN) is input from the keyboard.
STDOUT
Standard Output (STDOUT) is output sent to the terminal.
STDERR
Standard Error (STDERR) is errors sent to the terminal.
Basic Commands
These are the most basic commands that you should know as a Linux System Administrator.
Command Syntax
Commands that utilize the Bash shell follow this common syntax.
command [-options] [arguments]
Commands
echo
ls
pwd
cd
touch
cp
mkdir
cat
su
sudo
sudoedit
visudo
whoami
who
w
last
id
Power Management
shutdown
Command Information
man
apropos
whatis
info
Password Management
passwd
chage
User Management
useradd
usermod
userdel
Group Management
groupadd
groupmod
groupdel