Find Absolute Path Of Command On Linux / Unix : which command
Learn more about which command with examples to find the path of Linux command and executable files in Linux and Unix operating system.
Learn more about which command with examples to find the path of Linux command and executable files in Linux and Unix operating system.
In this tutorial we will learn about, how to use df command to check the mounted filesystem on linux. As a Linux System administrator, this command is basic and very important.The df command shows the usage of mounted filesystem.It is notable that the filesystems which are not mounted on system,we can not get its information…
The post is about to show account aging information.To get details of user account password expiration ,we use the command chage. With chage command use the option -l or –list. The chage program requires a shadow password file to be available.The absolute path of shadow file is /etc/shadow.It is notable that /etc/shadow file has password…
Today,in this post we will learn, How to show line numbers with less command in Linux.In our previous post we have described about how to show line number with cat command. Less command is similar to more command but it has more features.As the name suggest, it read less output rather than reading the entire…
In this tutorial we will know, how to test rpm package before installation .You may have seen while installing the rpm package file by using rpm -i command, some problem may occur. It can be issue with dependency,GPG signature or corrupt rpm package etc. As a Linux System Engineer,this command is very useful and should…
In this post,we will know the linux command to find installation date and time of rpm package. As a Linux System Administrator,we take part in IT auditing activity. Sometimes for cross check we require the exact date and time of rpm file installed in Red Hat based Operating System (RHEL/CentOS/Scientific Linux). Hence,for auditing purpose,it is…
In this tutorial we will learn,how to allow only members of Wheel group to use su command.Means only members of wheel group can switch to another user by using su command.As we know that in Red Hat based operating system, wheel group is a special administrative group. To allow only Wheel group’s member to use…
In this post we will know,how to create a system account below uid 500 on Red Hat based operating system.In Red Hat based operating system,the system account are below UID 500. The UID below 500 are reserved for system use ,it should not be assigned to other users. We can easily check the system user…
Question : How can I extract single and selected files from RPM package on Linux. Answer : You can extract the single and number of selected files from RPM package by using rpm2cpio and cpio command.To achieve this task we will first list the number of files inside RPM package. After getting files name, we…
Question: What is the linux command to list the files from rpm package without extracting ? Answer : To do listing of files from rpm file package we will use rpm2cpio and cpio command. It is good practice to check list of files before extracting files from rpm package. By viewing list of files we…
In this tutorial we will learn, how to extract RPM package on Linux system. Extracting the rpm has one the important command and it will surely help you in System Administration. Many times I solved some problem which is caused by file corruption of particular package. Here is the story from my experience.One day,my colleague…
In this tutorial we will learn,how to install and upgrade to latest Git version on Debian based Operating System.At the time of writing this post,git version 1.9.1 has been released on 2014-03-18. The information of new Git version release can be obtained from git-scm.com The practical has been tested successfully in Ubuntu,Debian and Linux Mint….
After installing XAMPP in CentOS ,I tried to open the phpmyadmin of XAMPP. I opened the phpmyadmin URL in web browser and found the below given error. Error MySQL said: Documentation #2002 – No such file or directory The server is not responding (or the local server’s socket is not correctly configured). Later, I noticed…
In this tutorial we will learn,how to install XAMPP in CentOS/RHEL 6.5.We will install XAMPP version 1.8.3. XAMPP is a open source cross platform software stack package mainly used for web server solution. XAMPP is available for Windows,MAC OSX,Solaris and Linux(WAMP, MAMP, SAMP, LAMP). XAMPP stands for –X = Cross Platform (Windows,MAC OSX,Solaris and Linux)A…
After installing XAMPP, I saw apache Error page “Access to the requested object is only available from the local network.”I have installed XAMPP for Linux version 1.8.3-3 on CentOS 6.5 . After installation of XAMPP, I opened the URL address in web browser.By-default the URL redirected to Alias /xampp and It shown a apache “Error…