ADV *NIX DAY 4 Flashcards
A variable and its value are displayed using echo $variable.
echo
Displays existing shell variables, environmental variables and shell functions.
set
Make a shell variable available with newly forked child processes, for that session only.
export
Display existing environmental variables.
env
Read and execute commands from filename in the current shell environment.
source
Run a shell with substitute user and group IDs.
su
OpenSSH, an SSH client for logging and executing commands on a remote machine. Provides secure encrypted communications between two untrusted hosts over an insecure network.
ssh
Secure copy (remote file copy program)uses SSH for data transfer. Also uses the same authentication and provides the same security as SSH.
scp
Secure file transfer program. An interactive file transfer program, similar to FTP, which performs all operations over an encrypted SSH transport.
sftp
Change your login shell or list available shells on the system.
chsh
Create a new group account using specified values and default system values.
groupadd
Change the current group ID during a login session.
newgrp
Create a new user or update default new user information.
useradd
Update authentication tokens (aging info), to include changing password for a user.
passwd
Change or list user password expiry information.
chage