≡ 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 To Find Out FreeBSD Version and Patch Level Number

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

Linux/Unix: How To Extract and Decompress a .bz2/.tbz2 File

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

SSH ProxyCommand example: Going through one host to reach another server

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

How to run sudo command without a password on a Linux or Unix

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

Linux/Unix: OpenSSH Multiplexer To Speed Up OpenSSH Connections

How can I multiplex SSH sessions by setting up a master session and then having subsequent sessions go through the master to speed up my ssh connection on a Linux or Unix-like operating systems?
[click to continue…]

I want to block Internet Explorer (MS-IE) browser on a squid proxy server running on a Linux or Unix-like systems. How can I block IE on a squid proxy server version 3.x?
[click to continue…]

FreeBSD Unix Find Out Which Programs Are Listing On a Given Port Number

I‘m a new FreeBSD Unix system user. How can I find out the process/programs names listing on a certain port on a FreeBSD Unix systems using command line? How do I lookup the process which is currently bound to the given network port on a FreeBSD server?
[click to continue…]

Use ssh-copy-id with an OpenSSH Server Listening On a Different Port

My OpenSSH server listening on TCP port number 2222. How can I use ssh-copy-id with an sshd server with listening on a different port on a Linux or Unix-like systems?
[click to continue…]

Ubuntu Linux: Edit and Open Files That Require Administrator Privileges

There are certain files in Ubuntu Linux (or Unix-like systems) that only root user access or edit. How can I edit and/or open files that requires admin (root) access on a Ubuntu Linux?
[click to continue…]

FreeBSD Unix Show Mounted File Systems

I recently switched from MS-Windows server to a FreeBSD Unix server. How can I see list of mounted file systems on a FreeBSD based Unix server using command line options?
[click to continue…]