Useful tips for everyday
How do I get out of root shell? Or you can simply press CTRL + D . Just type exit and you will leave the…
How to escape commas inside double quotes in AWK? I need to add two fields to a csv file. The separator of csv fields is…
What is terminal window? (1) In a remote control operation, a terminal window displays the screen of the remote machine it is controlling. (2) For…
What does NFS share mean? Network File Sharing (NFS) is a protocol that allows you to share directories and files with other Linux clients over…
What kind of command can monitor a log file? Command can be any unix command including shell scripts or anything else. An even more robust…
What causes systemd to go into emergency mode? It’s usually when a .mount unit for a local filesystem fails, causing local-fs.target to fail. Or when…
What is the ASCII value of 26? ASCII, decimal, hexadecimal, octal, and binary conversion table ASCII Decimal Octal end of medium 25 31 end of…
How to kill a shell script running in background? You can use ps + grep or pgrep to get the process name / pid; later…
How do I use special characters in the grep? Grep allows the arguments as strings which are specified as a regular expression. It also has…
How does the find string in variable program work? For each line in its input, it checks if the line contains (or not) the indicated…