≡ 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 ).

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…]

How do I find out my FreeBSD server version and patch level of the installed system using command line option?
[click to continue…]

I've a file called foo.bz. How do I extract or decompress a .bz2 file on a Linux or Unix-like systems using command line options?
[click to continue…]

How do I use and jump through one server to reach another using ssh on a Linux or Unix-like systems? Is it possible to connect to another host via an intermediary so that the client can act as if the connection were direct using ssh?
[click to continue…]

I'm a new Unix system user. How do I use sudo command without a password on a Linux or Unix-like systems?
[click to continue…]