Sunday, 30 December 2018

Commands in Unix when things go wrong

Terminals and keyboards has no uniform behavioral pattern. There are some commands to wriggle out of some common traps. You must know which keys you need to press when things don’t quite work as expected. 1. Backspacing doesn’t work: Consider you misspelled command stty as ssty and when...

Tuesday, 18 December 2018

Run commands as root with sudo

Introduction Linux follows the very tough permission model. A root user can do anything but normal user has no permissions. To run any command, they need to ask for permissions from the superuser. The easy and common way to grant administrative privileges to non-root users is, a user...

Sunday, 16 December 2018

less command in Linux with Examples

Less command is linux utility which can be used to read contents of text file one page(one screen) per time. It has faster access because if file is large, it don’t access complete file, but access it page by page. For example, if it’s a large file and...

Friday, 14 December 2018

Cat command in Linux with examples

Cat(concatenate ) command is very frequently used in linux.It reads data from file and give their content as output.It helps us to create,view,concatenate files.So let us see some frequently used cat commands. 1) To view a single file Command: $cat filename Output It will show content of given...

Wednesday, 12 December 2018

rm command in Linux with examples

rm stands for remove here. rm command is used to remove objects such as files, directories, symbolic links and so on from the file system like UNIX. To be more precise, rm removes references to objects from the filesystem, where those objects might have had multiple references (for...

Friday, 7 December 2018

mv command in Linux with examples

mv stands for move. mv is used to move one or more files or directories from one place to another in file system like UNIX. It has two distinct functions: (i) It rename a file or folder. (ii) It moves group of files to different directory. No additional...

Wednesday, 5 December 2018

How to define and use functions in Linux Shell Script

In this article we’ll discuss more about functions and recipes. For demonstration purpose I’ll be using Bourne Again SHell(Bash) on Ubuntu machine. Calling function In Shell calling function is exactly same as calling any other command. For instance, if your function name is my_func then it can be...

Tuesday, 4 December 2018

bc command in Linux with examples

bc command is used for command line calculator. It is similar to basic calculator by using which we can do basic mathematical calculations. Arithmetic operations are the most basic in any kind of programming language. Linux or Unix operating system provides the bc command and expr command for...

Saturday, 1 December 2018

tar command in Linux with examples

The Linux ‘tar’ stands for tape archive, is used to create Archive and extract the Archive files. tar command in Linux is one of the important command which provides archiving functionality in Linux. We can use Linux tar command to create compressed or uncompressed Archive files and also...

Wednesday, 28 November 2018

Limitations and Pitfalls of Cloud Computing

Cloud computing companies have become commonplace. Business people recognize that cloud-based software and services make it possible to use computing resources more efficiently. Large capacity servers in massive server farms can run applications and services and provide good performance. The cloud isn’t scary anymore and everyone uses it....

Saturday, 24 November 2018

df Command in Linux with examples

There might come a situation while using LINUX when you want to know the amount of space consumed by a particular file system on your LINUX system or how much space is available on a particular file system. LINUX being command friendly provides a command line utility for...

Wednesday, 21 November 2018

help Command in Linux with examples

If you are new to LINUX operating system and having trouble dealing with the command-line utilities provided by LINUX then you really need to know first of all about the help command which as its name says help you to learn about any built-in command. help command as...

Pages (26)1234567 »