Linux useful short commands
Posted on 27-Jan-2020
View releases files
cat /etc/*release*
View issues files
cat /etc/*issue*
Run an utility to determine the linux distribution
lsb_release -a
# or
hostnamectl
Determine which users last logged in to the system
last
search in man pages for keywork
man -k keyword
# or
apropos keyword
Files listing commands
# which file is the oldest
ls -lAt /path
# which file is the largest
ls -lS /path
extract files from tar archive
tar -xf archive.tar --wildcards 'test_file_?'