In this post , we are explaining how to use tr command to convert lines or rows to space , tab , vertical tab and vertical tab. In our last post we have explained converting lines to space by using sed command. This time we will use tr command, which translate, squeeze, and/or delete characters […]
linux command
smbpasswd command not found on CentOS 7 and RHEL 7
While setting up the Samba Server on CentOS 7, I met with this message on termial that is ” -bash: smbpasswd: command not found “. The smbpasswd is mainly use for setting the password for user in samba server. How to get smbpasswd commad on system To get smbpasswd commad on system ,use the below […]
Solution : semanage command not found
This time again I stuck with -bash: semanage: command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7) . I mostly use the minimal installed CentOS/RHEL Servers. I got the same issue with semanage command not found on CentOS 6/RHEL 6 Quick Introduction: semanage semanage is SELinux Policy Management tool. Fix: […]
Unix / Linux : How to print duplicate lines from file
In this post I am sharing a small tip which is very useful while for system admins. The tip is about how to print duplicate lines from file. Sometimes we get the big file with lot of contents.And there may be chances of duplicate lines. To find the duplicate lines from file, use the below […]
yum : how to find rpm package which has certain command or file
With this post you will also learn, how to find RPM packages which has certain command or files. You may have encounter with the error like “netstat command not found” on Red Hat based operating system. This time, on exploring and using CentOS 7, I found many changes. Generally I prefer to go with minimal […]
Linux : clear command and its keyboard shortcut
Today, in this post we will explain about linux clear command and its keyboard shortcut. Like cls command on Windows, on linux we use clear command.clear command is available on all Unix like Operating System. clear command clears output and command on console or terminal window. In short words, clear command clear the screen. But […]