Display file’s contents to the standard output device (usually your monitor).
Whatever you can do with shell script, you can do with perl and python too or in general any scripting language. However These languages have advantage and disadvantage over each other. Here are the few reasons why i use the scripts. You can write a script to initialize something at boot time of the system. […]
A alias The alias command is a way to keep your command /commands in a temporary variable. Unix commands using a shorter name than those that are usually associated with such commands. Syntax:alias shortName=”your custom command here”Example: alias wr=”cd /var/www/html” apt-get APT (Advanced Package Tool) is the command line tool to interact with this packaging system. There is already […]
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 […]
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 […]
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.  The user account added during installation is set an administrative account with Sudo, so it’s easy to get root account’s shell like […]