Linux-Tips
Important Linux Commands and Tips
- journalctl-fa to print info of connected and disconnected devices
- ifconfig equivalent of ipconfig
- stat
filename
checks if a file exists - apt-file search
name_of_package
it gives the provider of this package. To installapt-file
, type sudo apt install apt-file - to create an alias for a command add to the .bashrc file under your home directory the following :
alias_name=''. Then run source ~/.bashrc. Now you can run your the command simply with this alias
😉