Useful tips for everyday
How do I edit a fstab file? Editing fstab file To edit the fstab file, launch your text editor of choice with sudo. To write…
Why do I get command not found error in Java? Reason: Check if you’re running through CMD or IDE. Solution: Well, if you get a…
Why is my ubuntu not shutting down? Go to your System Settings->Software and Updates->Developer Options tab click the box next to Pre-release (xenial-proposed). enter your…
What happens when you remove a hard link? If you delete the ‘my-hard-link’ of a hard link, the remaining files pointing to that same space…
How do I increase max open files? To Increase the File Descriptor Limit (Linux) Display the current hard limit of your machine. Edit the /etc/security/limits.conf…
How do you write a loop in two variables? For Loop with two variables in Java public class forloop { public static void main(String[] args)…
How to add SSH key to known hosts? A very simple way is: cp ~/.ssh/known_hosts ~/.ssh/known_hosts.bak. Then edit known_hosts to clear the original key, then…
How do I turn on Wi-Fi on Lenovo X1 Carbon? Method One – Fn+F5 Press Fn+F5 (or F5). The Lenovo Wireless Device Settings window will…
Can you script in Bash? Scripts can be written for all kinds of interpreters — bash, tsch, zsh, or other shells, or for Perl, Python,…
How to enable persistent storage for the systemd journal Log? SystemMaxUse is 10% for peristant storage in /var/log/journal, or 15% for memory use in /run/log/journal…