learn very useful alias command with examples
|

learn very useful alias command with examples

Here in this post,we will learn very useful alias command with examples.In linux and Unix like operating system,mainly we use the alias command to shorten the long command.It is something like instead of writing long command in terminal,you type a few letters on terminal and your desired command get run. To understand the meaning of…

Install libjpegtran by using yum command in CentOS 6.x
|

Install libjpegtran by using yum command in CentOS 6.x

In this tutorial we will learn,how to install libjpegtran by using yum command in CentOS 6.x. The libjpegtran is mainly used for optimizing the jpeg and jpg format files.This utility compress an image without losing the quality of file. If you are running a website which has lots of jpeg/jpg file, which may take time…

man command not found in CentOS and Red Hat

man command not found in CentOS and Red Hat

Manual pages are software documentation found in Unix like Operating system and man linux distro. To get the information about package and command, we use the syntax yum install Package_name-Command_name.The abbreviation of Manual Page is man page . When you work in Unix like operating system,we generally need help and information about the package and…

Linux: Set user password by using encrypted password in command
|

Linux: Set user password by using encrypted password in command

In this tutorial we will learn about how to set user password by using encrypted password in command line.We assume you already know about how to simply set/reset password of user by using command (passwd username). In this tutorial,first we will encrypt the password in python interpreter then we use the output in one liner…

Linux command to find modified and access date of file/dir/filesystem
|

Linux command to find modified and access date of file/dir/filesystem

In this tutorial we will learn about linux command to find last modified and access date of a file/dir and filesystem.The command is very useful for troubleshooting purpose. Here we will use the stat command which display file or file system status. To find the last modified and access date of a file/dir/filesystem in linux,we…

Useful tail command with examples in Linux/Unix

Useful tail command with examples in Linux/Unix

In this tutorial we will learn about useful tail command with examples in Linux/Unix which will help you in linux and Unix system administration. Question: What the tail command do Answer: tail command helps to get output from last part of file. Question: When we generally use the tail command. Answer: => tail command is…

Command to create and delete group in Red Hat and CentOS linux

Command to create and delete group in Red Hat and CentOS linux

Command to create and delete group in Red Hat and CentOS linux Question: How to create and delete the group in Linux (Red Hat or CentOS) by using command line Answer: To create and delete the group in linux,follow the given below steps. To create new group ,use given below command Syntax: groupadd groupname Example…

group ownership reference to file/dir from other file/dir in linux

group ownership reference to file/dir from other file/dir in linux

In this tutorial we will learn to give group ownership reference to file/dir from other file/dir in linux. Here we will take ownership and group reference from source file or directory and apply same ownership and group to target directory. Syntax: chown –reference source-file-dir target-file-dir example: chown –reference testfile sharad_testfile See the given below screenshot…

Give permission reference to file/dir from other file/dir in linux

Give permission reference to file/dir from other file/dir in linux

In this post we will learn to give permission reference to file/dir from other file/dir in linux. For example you have any file and directory and you want to give permission exactly same to other file and directory. Use the given below syntax: chmod –reference source-file-dir to target-file-dir eg. chmod –reference testfile sharad_testfile for more…

How to rename and move the directory and files in linux
|

How to rename and move the directory and files in linux

To rename and move the directory and files in linux in linux we use single command called mv. The mv command is used for both purpose means renaming and moving the directory or file,it is system command which ships bydefault when you install any linux. The command is also applicable to all Unix based operating…

Learn tar command and know about its precaution
|

Learn tar command and know about its precaution

Learn tar command and know about its precaution Tar(Tap Archive) command is used in Unix like operating system for archiving the files. Archive is a file which has number of files and these files can be extracted to its original format with the help of extraction programmes. These archived files are called tarballs. If you…