Useful tips for everyday
How to add options to a bash script? The ability to process options entered at the command line can be added to the Bash script…
How is a regular expression used in SED? sed applies small text transformation using what is called a RegEx, or Regular Expression. A regular expression…
Can you create a folder inside of another folder? The fastest way to create a new folder in Windows is with the CTRL+Shift+N shortcut. 1.…
How do I overwrite in Linux? The best way to force the overwrite is to use a backward slash before the cp command as shown…
How do you use sudo instead of su? The sudo command allows you to run programs as another user, by default the root user. If…
Can an MP3 have chapters? Traditionally chapter marks were only supported by files using the MP4 container format (. mp4, . However, chapters can also…
What is interruptible sleep? “Interruptible sleep” effectively means idle. The process is waiting, and will wake up when it receives an input. That’s the normal…
Can you substitute a pattern for a pattern in SED? In sed, s/pattern/replacement/ say “substitute ‘replacement’ for ‘pattern’ on each line”. It will only change…
What is the size of a symbolic link? Symbolic Links to Files in a Different Directory This time, the symbolic link’s file size is no…
What is Intel_pstate? intel_pstate is a part of the CPU performance scaling subsystem in the Linux kernel ( CPUFreq ). It is a scaling driver…