Memory in Linux is can be increased by create swap space, it can be a special partition, or a file which will work as a swap file. We will cover now, how to create a swap file. Create a swap file Where: bs=1024: Says that each block is made of 1024 bytes count=512K: Says that [...]
Permissions are rules that describe what can be done with a file and by who. Permissions are also one of the biggest mysteries to many new Linux/UNIX users as well as the cause of many problems. Working with permissions is not that difficult as it was explained by Robert de Bock in article entitled Linux permission [...]
There has been a lot of debate recently over whether or not it’s a good idea to run an anti-virus program if you’re using Linux. Due to increasing popularity of Linux as Desktop using Gnome Environment the malware authors are becoming more interested about Linux. Linux users think they are immune to viruses, but they’re [...]
Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications. It is often referred to as ‘Rails’ or ‘RoR’. Rails can be installed on a virtual private server with a variety of packages, but it can also be download manually, from source. This tutorial [...]
Open source task management application Nitro is the best way to organize with it’s speed, simplicity and power. With innovative features such as smart lists and magic sort, you can keep your life organized and focus on what needs doing. Nitro can sync with Dropbox or Ubuntu One. You can easily access your tasks from [...]
How can one assign the output of the shell command to a variable in bash script under unix and linux like operating systems. Bash provides a feature called command substitution. It allows you to run a shell command and store the output of the shell command to a variable in the bash script.
The grep command is used to search text for word patterns specified on the command line. SYNOPSIS grep [options] PATTERN [FILE...] grep [options] [-e PATTERN | -f FILE] [FILE...] The -r option is used to search recursively through an entire directory tree. You can print the file name for each match with -H switch: