Linux commands Flashcards
linux: getting help
man
Linux: File editors
nano, vi/vim
Linux: list current directory
pwd
Microsoft: change directory
cd
Linux: list directory contents
ls
Linux: output file contents
cat
Linux: file search tool
find
Linux: File contents search tool.
Filter any data piped as input.
grep
Linux: copy files
cp
Linux: move (and rename) files
mv
Linux: delete files
-r
rm
Linux: report free space
df and du
Linux: switch user
su
Linux: superuser do
sudo
user management commands
useradd, usermod, userdel
Group management commands
groupadd, groupmod, groupdel
newgrp to set effective group ID
read, write, execute for user, group, world
- rwx r-x r–
octal permissions
read=4, write=2, and execute=1
0754
chown
chgrp
Linux: File ownership
Linux: update, upgrade, install
apt-get
Linux: check-update, update, install
yum
process ID
PID
Linux: report configuration and apply non-persistent changes
ip
Linux: troubleshoot name resolution and DNS
dig