Boot Your Linux from Your USB Flash Drive

USB Flash Drive SuperTalent Pico-C 8 GB. Stain...
Image via Wikipedia

In this era when portability of computing devices has become a prime concern, Linux has enabled you to carry even your operating system on USB Flash drives. There are various advantages of using these low-cost flash drives to carry your Linux operating system installed. It allows you to use any computer with the same working environment just when you plug your Linux installed USB drive into it. You don’t even need to carry your laptop, or pocket PC to be able to use your own personal computing environment on any computer.

You can install Linux on your USB flash drive in a number of ways. The most common but longest way is to burn an ISO image of installation into a CD/DVD and then, to install it to the flash drive after booting your machine with the CD/DVD. You can also choose to use Linux Live USB Creator in order to easily install Linux into your USB drive. You can also use another application such as unetbootin that may offer you the choice of some Linux distributions that are not available with Linux Live USB Creator.

After you know the advantages of installing Linux on a USB flash drive and various ways of installing Linux on a USB drive, you should also be aware of what choices of Linux distributions you have. The reason why you should know about the suitable Linux distributions is that various Linux distributions are different in terms of their portability, sizes, speed of running if ran from a USB flash drive. Following are few Linux distributions that are being used widely in their USB installed forms:
* Puppy Linux
* Damn Small Linux
* xPUD
* SLAX
* Moo Linux
* PCLinuxOS
There are several more Linux distributions that can run from the USB flash drives. However, if you want to install Linux on flash drive just as a replacement of your desktop based Linux, you should choose a distribution that closely matches the features of your desktop based version of Linux.

Know About the Running Processes with the PS Command

Graph of typical Operating System placement on...
Image via Wikipedia

The Linux operating system has many important concepts that help developers and administrators ensure a smooth functioning of the applications developed for Linux. One of such important concepts of operating systems is concept of processes. A process in Linux represents an instance of a running program. The Linux operating system assigns a unique identifier, process id, to each running process. In order to know the details related to the processes running under Linux, you can use the ps command.

The ps command has the following basic syntax:
ps [options]

When you run the ps command on the command prompt, it displays the information about at least two processes, shell and ps. Shell is the process that runs in order to provide users an environment to interact with the operating system. The ps process is displayed as a result of executing the ps command, which terminates immediately after running the ps command.

The ps command displays four pieces of information related to the running processes by default. These pieces of information are PID, TTY, TIME and CMD. PID is the process id of the process, TTY indicates the name of logged in terminal (console), TIME is an indicative of the processing time the CPU has spent executing the process, and CMD is the name of command result in the process execution.
There are various common usages of ps command with varying values of the options used while running the ps command. For example, in order to get a list of processes containing the word, app, you can issue the ps command with the grep command as follows:
ps -ef| grep app
Similarly, the ps command can issue the list of processes based on various criteria specified by various options, such as aux, -u, -ef, -x, etc. These options can be used for various purposes, such as killing a non-responsive process. You can easily find the process id of a particular process and issue the kill command with the process id thus found.