MTI TEK
Home
About
LLMs
Docker
Kubernetes
Java
All Resources
Linux-Ubuntu (Essential Commands)
File management
Directory Structure (Filesystem Hierarchy)
ls -- list directory contents
file -- display file type
wc - print word counts
touch -- change file access and modification times
cp/scp -- copy files/directories
mv -- move files/directories
rm -- remove files/directories
mkdir -- make directories
rmdir -- remove directories
find -- search files/directories
ln -- make links
tar -- manipulate tape archives
gzip/gunzip -- compression/decompression
df -- display free disk space
du -- display disk usage statistics
File permissions
chmod -- change file modes
chmod -- change file ACLs (Access Control Lists)
chown -- change file owner and group
chgrp -- change group
Users and Groups
Users
Hide a user from the login screen
Enable/Disable remote SSH login to a specific user
Groups
Processes
ps
top
Scripts
Special Characters
Redirection/Pipe operators
crontab
Text Editor
cat -- concatenate and displays files
more -- displays files
less -- displays files
head -- displays the first lines of files
tail -- displays the last lines of files
vim
lsof (LiSt Open Files)
HowTos
Clear systemd journal logs
List and delete a file or a directory with a name starting with dash (-) characters
Appendix
Notes
Shell
GNOME 3 Desktop
System info
Manage Packages
User profile
Linux aliases
/var/log/*
References
Books
Linux Bible: The comprehensive, Tutorial Resource
Authors:
Christopher Negus
Publisher:
Wiley; 9 edition (April 2015)
ISBN:
978-1118999875
Linux Command Line and Shell Scripting Bible: The comprehensive, Tutorial Resource
Authors:
Richard Blum, Christine Bresnahan
Publisher:
Wiley; 3 edition (January 2015)
ISBN:
978-1118983843
Linux: The Complete Reference
Authors:
Richard Petersen
Publisher:
McGraw-Hill/Osborne; 6 Edition (2008)
ISBN:
978-0071492478
OS X El Capitan: The Missing Manual
Authors:
David Pogue
Publisher:
O'Reilly Media; 1 edition (November 2015)
ISBN:
978-1491917954