1/38
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Shell/Terminal
Do configs from a command line
Samba
Implementation of CIFS/SMB networking protocols that support:
Windows Server Domain
Active Directory
Microsoft NT Domains
With Samba, Unix machines can interoperate with Windows
Like file and print server
man
displays help for commands
passwd
change password
ls
list files in a directory
mv
move or rename a file
cp
copy a file
rm
remove a file
mkdir
create a folder
df
display the amount of free storage
ps
displays a list of running processes
rmdir
delete folders that are empty
rm -r
Remove folder that aren’t’ empty
top
displays a list of running processes
find
search for text in files or directory/folder
grep
search with regular expression
dig
troubleshoot DNS
cat
displays the contents of a file
nano
text editor
pwd
lists where you are
ip
display and config a NIC
cd
change your current directory
cd..
go one directory up
cd -
move to the previous directory you where in
chown
change the owner and group of a file
chown syntax
chown “user”: “group” “file name”
chmod
change the permissions of a file or folder for owner/group/everyone
chmod 1,2,3 symbols
Execute
Write
Read
7 = r+w+x
6 = r + w only
adduser
create a new user
ls -l
See user and groups for files and folders
dd
copy disk to disk. partition to partition
kill
kill a process
shutdown
shutdown computer
APT
Command line utility used to install/uninstall or upgrade apps in Debian-based distros
apt-get update
Used to update version list of installed apps
apt-get install
Install a new app
Apt-get remove
Uninstall a app
Yellow Dog Updater/YUM
Command line package management utility for Red Hat distros