Browsing articles tagged with " linux commands"
Nov
11
2011

Simple Scripts & Sed

sed

In my previous stone on Terminal tricks using sed, I had included simple sed one-liners to carry out some amazing text editing tasks. The beauty of sed command is more accentuated when used in scripts.A combination of two or more commands with sed can result in effective scripts. You can either create a bash file or make an alias. Alias allows you to define ‘shortcuts’ to shell commands. Usage :   alias newcommand=’yourcommand -arguments’ For e.g. [...]

Jul
11
2011

Lessons to be learnt from silly command line mistakes

Monitor Showing a Linux Crash on Boot, Scrolling Error Message

When it comes to Linux, the terminal is the most powerful tool. Considering the power the terminal has; a bit of carelessness with the command lines can lead to system malfunction leaving you completely clueless and bewildered. So, it is mandatory that we use the terminal meticulously. Have a look at a few commands which teaches you how to avoid havoc that can be caused due to slight error in the commands. LESSON ONE rm [...]

Mar
21
2011

Linux File Types

OLYMPUS DIGITAL CAMERA

“In Linux everything is a file but not all the files are of the same type.” In Linux everything is considered a file. The processes, the CPU, RAM, and even the Linux kernel memory can be viewed as files under the /proc directory. Devices like monitors, hard drives, modems, keyboards , CD-ROM and printers are files. Surprisingly, even any error messages that might result from what we type is a file. Hence anything that is [...]

Jan
27
2011

10 things you didnt know about ‘apt’

spheres

If you are into the world of Linux or thinking of trying it out, you will most probably stumble upon apt. Due to the increase trend of people shifting to Debian distribution, apt now has become a must know tool. In fact, apt-get will make your life so easy in Linux that you will stop worrying about how to install and remove software on the Debian GNU/Linux distributions. So what’s apt? APT or Advanced Package [...]

Jan
11
2011

Basic Command Line Tips and Tricks II

linux-shell-big

This article is a continuation of our previous stone – 40 Basic Command Line Tips and Tricks. The terminal is a really powerful tool when it comes to Linux, anything and almost everything on Linux can be done via the command line. Therefore it is necessary for us to have a basic idea of all the important commands and a few really important options that come along with them. 1. BASH ( Bourne-Again SHell ) [...]

Jan
10
2011

Wonders of Shell Commands

linux

It is often said that there is never any justification for things being complex when they could be simple. Most of the time we spend a lot of effort trying to a complete a task which in fact can be accomplished by a single stroke in the command line. For instance, to remove all the empty files in a graphical environment, you have to go through the search options, select the files and finally delete [...]

Aug
22
2010

40 Linux Shell Commands for Beginners

linuxshell

Linux has more than 650 commands and every command has its own set of options all performing different operations. Going through each and every one of these commands will be a very tedious task. However limiting yourself to only a few of them is never an option. The trick here to learning all these commands, is to categorise them according to their function. By doing this, you will know atleast the basic commands and have [...]

Pages:12»