Useful tips for everyday
What is the difference between the commands cat more and less? Similar to more, less command allows you to view the contents of a file…
How does suspend work in different versions of Debian? Because the core system components change rapidly among Debian versions, software suspend works differently on different…
What is procfs and sysfs? What is the difference between procfs and sysfs? proc is the old one, it is more or less without rules…
What is exec used for? The exec command is a powerful tool for manipulating file-descriptors (FD), creating output and error logging within scripts with a…
What is included in GNU coreutils? The GNU Core Utilities or coreutils is a package of GNU software containing implementations for many of the basic…
How to restart network service in Debian Linux? On older version of Debian, when you make changes to /etc/network/interfaces file, you can restart networking with…
How do you record output in Python? “record audio output python” Code Answer import pyaudio. import wave. CHUNK = 1024. FORMAT = pyaudio. paInt16.…
How to know if a command is not found in Bash? If not, it will see if there’s an executable command /usr/bin/foo and if not…
How do I find the directory of a script? A One Liner to Get the Script Directory We can use the following approach: Get the…
Which is an example of a metacharacter in regex? Metacharacters are the building blocks of regular expressions. Characters in RegEx are understood to be either…