≡ Menu

Troubleshooting Unix / Linux Servers

Troubleshooting tips about Linux, *BSD, UNIX, Apple OS X, programming and MS-Windows servers and desktop systems ( rss feed ).

Ubuntu Linux check cron log file error or messages in /var/log/cron.log file

I am trying to find errors or message for my cron job on Ubuntu Linux server. Where is the cron log in Ubuntu Linux 12.04/14.04 LTS server? How do I check cron logs in Ubuntu server? How to check if crond server is enabled and/or is running properly on Ubuntu Linux server?
[click to continue…]

How to check boot path (partition) in Linux

How do I identify the boot device or boot path in Linux operating system?
[click to continue…]

How to find out Mac OS X operating system version information from Terminal command prompt

I use ssh client to login into my Mac Min server without GUI. How can I tell what version of Mac OS X operating system am I using command prompt? How do I find out Mac OS X version from Terminal app bash shell?
[click to continue…]

How to summarize detailed system resource usage for given command on a Linux or Unix

How do I determine the system resource usage during of execution of a particular command on a Linux, OS X Unix, BSD and Unix-like operating system?
[click to continue…]

Debian / Ubuntu Linux Delete Old Kernel Images Command

I'm a new Ubuntu Linux user and noticed that old kernel still exists in my system. Why doesn't Ubuntu remove old kernels automatically? How do I delete old unused kernel images to free disk space. How to remove unused old kernel images on Ubuntu Linux safely?
[click to continue…]

How To Find Hard Disk SATA Link Speed On FreeBSD

I know how to find out my SATA link speed such as 3.0 or 6.0 Gbps on Linux operating system. How do I find out my SATA link speed on FreeBSD Unix operating system? How do I make sure my sata hard disk is working at 6Gbps speed and how do I verify this on a FreeBSD server hardware?
[click to continue…]

How to find out information about a LXC (Linux container) CPU & Memory Usage

How can I find out information about a Linux container (LXC) such as CPU usage and memory usage from the command prompt? Is there is top command like a tool for lxc to monitor memory and cpu usage?
[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…]

I need to tunnel X Window securely over SSH bases session so that I run X program on my remote Linux/Unix server/workstation and get back display to my Apple Macbook pro laptop. I tried the ssh -X user@server1 and ssh -Y user@server2 commands on both OS X Mountain Lion and Apple OS X Mavericks/Yosemite. But, I am unable to use the ssh command with X11.

How do I fix this problem on OS X and enable X11 forwarding with ssh command? How do I install XQuartz (X11.app) server on Apple OS X Mountain Lion or Mavericks or Yosemite?
[click to continue…]