Tag Archives: unix

Recursive FTP from the Command Line

The default command line ftp client in most UNIX distributions do not support recursive downloads, even though recursive downloads is a basic feature in most GUI based ftp clients. But if you do not have access to the X-Windows or GUI, there are alternative ways to achieve the same result from the command line.

UNIX Terminal Session Management

Have you ever encountered the dreaded “Connection closed by foreign host” message when you were logged into a remote server via SSH and you were in the middle of some important task? You have most probably just lost your session and you will have to start your task all over again. Well, you can prevent this from happening by using the screen command available in most UNIX and Linux distributions.

Switch Between 32-bit and 64-bit Kernel in Solaris

Solaris, by default, loads a 64-bit kernel during boot up, if the hardware supports it.

If, for whatever reason, you need to load Solaris in 32-bit mode, the following commands can be used to switch between the 32-bit and 64-bit kernels.

Command Line Calendar

How often have you wanted to take a quick glance of the calendar in your desktop? You may need to click a couple of dozen of times on your desktop if the period your are interested in is more than a decade back.

Search for Files Bigger Than Certain Size

When the disk partition is filling up quickly, it’s quite an hassle for the system administrator to find out the location of the files taking up the most space.

Access Root Shell in Ubuntu

On a typical Fedora installation, you are asked for a root password and you will given an option to create accounts for normal users.

On the other hand, Ubuntu only allows account creation for normal users, root logins are disabled by default.

Reset MySQL root Password

database

If you have set a root password for MySQL previously, but have forgotten what it was, you can reset the password without much hassle.