≡ Menu

Unix Tagged Q & A

Question and answer for users of Unix-like operating systems. Topic includes – Unix commands, servers, security, networking, shell programming, troubleshooting and much more ( rss feed ).

How do I find out my public IP address on the Linux and OS X Unix command line to use with my own bash shell script without using third party web site? Is there command-line option which will show my dynamic IP address on a Ubuntu or Fedora Linux?
[click to continue…]

How can I use dd command on a Linux to test I/O performance of my hard disk drive? How do I check the performance of a hard drive including the read and write speed on a Linux operating systems?
[click to continue…]

FreeBSD Add a User To Wheel Group Command

How do I add a user to the wheel group in FreeBSD unix operating systems using command line options?
[click to continue…]

How to execute script on the last day of a month on Linux or Unix bash shell? How do I run a disk usage or custom reporting shell/perl/python script on the last day of a month on a Linux or Unix-like systems?
[click to continue…]

I'm a bash shell user. I would like to temporarily clear bash shell environment variables. I do not want to delete or unset an exported environment variable. How do I run a program in a temporary environment in bash or ksh shell?
[click to continue…]

How To Find the WiFi Password on Mac OS X

I've MBP 13" laptop. How can I find out the Wifi password on Mac OS X using command line and GUI options?
[click to continue…]

How do I get exit status of process that's piped to another (for e.g. 'netstat -tulpn | grep nginx') on a Linux or Unix-like system using a bash shell?
[click to continue…]