Linux / UNIX: Find Out If a Directory Exists or Not

Posted on in Categories CentOS, Debian Linux, File system, Gentoo Linux, Howto, Linux, Open source coding, programming, RedHat/Fedora Linux, Shell scripting, Suse Linux, Sys admin, Ubuntu Linux, UNIX last updated November 16, 2008

I’ve already written a small tutorial about finding out if a file exists or not under Linux / UNIX bash shell. However, couple of our regular readers like to know more about a directory checking using if and test shell command.

xrandr: Linux Resize / Set The Screen Size Quickly Via Command Line Options

Posted on in Categories Debian Linux, Howto, Linux, Linux desktop, RedHat/Fedora Linux, Tips, Troubleshooting, Tuning, Ubuntu Linux, UNIX, X server last updated February 23, 2014

Generally, I need to switch my Gnome screen size to 800×600 to watch TV via TV-Tunner card as my card supports max 800×600 resolution. For rest of my work I prefer to use 1024×768 pixels. You can create a shortcuts on the desktop to resize screen quickly: