Shell Environment & Environment Variables

In this post, we will discuss in detail about the Unix environment. An important Unix concept is the environment, which is defined by environment variables. Some are set by the system, others by user, yet others by the shell, or any program that loads another program. A variable is a character string to which we assign […]
Linux ls command
ls syntax $ ls [options] [file|dir] ls command options ls command main options: option description ls -a list all files including hidden file starting with ‘.’ ls –color colored list [=always/never/auto] ls -d list directories – with ‘ */’ ls -F add one char of */=>@| to enteries ls -i list file’s inode index number […]
Linux Inbuild self-help commands (help or man or info)
Linux has many commands available which can be very useful. Even it is very powerful when it gets all the available parameters along with the commands. Due to the varsity of the commands available in the Linux, it’s difficult to remember all the commands. How to use –h or –help? Launch the terminal by pressing […]
Linux cat Command
Display file’s contents to the standard output device (usually your monitor).
Shell Scripting Functionality | Why we need Sheel Scripting
Whatever you can do with a shell script, you can do with Perl and python too or in general any scripting language. However, These languages have advantages and disadvantages over each other. Here are a few reasons why we use the scripts. You can write a script to initialize something at the boot time of […]
Advanced Linux Commands to Make You Expert User
Linux commands and their optional parameter are very useful for the user who wants to take advance of the full feature of Linux CLI. In this post, we have discussed the most featured commands are being used extensively in day-to-day activities. To explore more about commands you can explore all the commands available in using […]
What is .gz file in Linux and how to compress & decompress .gz file
Gzip or .gz is used to compress a file in order to reduce disk space, it is quite popular in Linux and UNIX operating systems for this reason. Gzip has been around since May 1996 and is still widely used today. The below examples showing the process of compressing gzip and unzipping .The compression technique can help […]
Linux Basic Commands
Command Description cat [filename] Display file’s contents to the standard output device (usually your monitor). cd /directorypath Change to directory. chmod [options] mode filename Change a file’s permissions. chown [options] filename Change who owns a file. clear Clear a command line screen/window for a fresh start. cp [options] source destination Copy files and directories. date […]
Root Login in Ubuntu Desktop 16.04
The root Account in Ubuntu is disabled by default because his password is not set. But if you’d like to use root Account by some reason, it’s possible to use like follows. [1] The user account added during installation is set an administrative account with Sudo, so it’s easy to get root account’s shell like […]