Useful tips for everyday
How do I turn off Terminal beeping? You can disable system bell if in the Terminal you go to Edit->Current Profile->General and uncheck the Terminal…
How do I Mount Samba share as non root user? You can allow the user to mount and unmount the partition as required using the…
How do I create a Bashrc alias? Steps to create a permanent Bash alias: Edit ~/. bash_aliases or ~/. bashrc file using: vi ~/. bash_aliases.…
What is the command to list all the files in the current directory whose second character is a digit? ?[0-9]* only expands to names in…
Does Telnet require a server? Telnet is a client-server protocol, based on a reliable connection-oriented transport. Typically, this protocol is used to establish a connection…
How to use dynamic linker in LD Linux? /lib/ld-linux.so.* [OPTIONS] [PROGRAM [ARGUMENTS]] The programs ld.so and ld-linux.so* find and load the shared libraries needed by…
How to set system wide umask in Pam? Now, according to the pam_umask man page, the default umask is determined at login by checking each…
What is prefix in shell? It means, assign the first argument (if present), else daily to variable PREFIX and assign the second argument (if present),…
How do you move resources in a Pacemaker? You can use the pcs resource relocate run command to move a resource to its preferred node,…
How to remove white space from a line in SED? To remove all leading white space of any kind: The ^ symbol matches only at…