Deprecated Linux networking commands and their replacements
Found this gem on an other blog: Deprecated Linux networking commands and their replacements I mostly use $ifconfig. Let’s try `$ ip a` from now on :).
Found this gem on an other blog: Deprecated Linux networking commands and their replacements I mostly use $ifconfig. Let’s try `$ ip a` from now on :).
Recently I got the error: GConf Error: Configuration server couldn’t be contacted: D-BUS error: Method ” GetDefaultDatabase” with signature “” on interface “org.gnome.GConf.Server” doesn’t exist. I got this while trying…
Getting this: $ java drs.jar Exception in thread “main” java.lang.NoClassDefFoundError: drs/jar Caused by: java.lang.ClassNotFoundException: drs.jar at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not…
Clear the BASH history easily via: $ >~/.bash_history Remember to log out after doing this.
Today, ifconfig was not working for me. I think this happened after I installed X11 on my headless server. $ ifconfig bash: ifconfig: command not found It turns out something…
If you want to use `top` over SSH, use the -t option: $ ssh -t servername top This also works if you want to use `tail -f` over ssh: $…
My idea on this site is to put snippets of codes / solutions / things I discovered here. When people will google a sulution to their problem, I hope they…