Commands Flashcards
passwd
Changes the password of the user’s account. Often used for updating or setting a new password.
pwd
Prints the current working directory’s path, helping users identify where they are in the filesystem.
faillog
Displays the faillog record or sets limits on the number of login failures before a user is denied access. This could be what pom_tally was aiming for, though faillog is a closer match to standard commands.
su
Switches user context to another user, optionally running a shell without changing the home directory if - is used with no username.
adduser or useradd
Adds a new user to the system. useradd is the basic command, while adduser is a more user-friendly interactive script on many distributions.
top
Displays real-time information about running processes, CPU usage, memory usage, and more.
ifconfig
Used to configure, manage, and display network interface parameters. Being replaced by ip.
ls -l
Lists directory contents in long format, showing detailed information about files and directories.
systemctl
Controls the systemd system and service manager, used for inspecting and controlling the system state.
ps -elf
Displays information about all running processes in full-format listing.
ls
Lists the contents of a directory.
cd
Changes the current directory. Used to navigate through the filesystem.
rm
Removes files or directories. Use with caution as deleted files are typically not recoverable.
cp
Copies files or directories from one location to another.
mv
Moves or renames files or directories.