Quantcast
Channel: GoLinuxHub
Browsing all 392 articles
Browse latest View live

How to set environment (PATH) variable permanently in Linux

There is a time when every Linux Administrator gets stuck at a point of his career when he/she has to set a custom path or any other environment variable permanently in the Linux machine.Suppose you...

View Article


How to give permission to user to run some commands in Linux

In Linux you can easily give permissions to user on a command basis, according to which that user will be allowed to run only those commands as super user and apart from those he/she would act as a...

View Article


How to preserve Symbolic links with tar command in Unix/Linux

Well there are times when you have to take backup of your Linux machine and copy it some other location but at the same time you don't want to loose all the symlinks which are their in your machine. If...

View Article

How to extract files to different directory using tar in Unix/Linux

Most of us extract the compressed file in the same directory but what if you get into a situation you need to extract it at some other location?You just need to add one extra argument# tar -xzvf...

View Article

Multiple connections to a server or shared resource by same user

Error:Multiple connections to a server or shared resource by same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try...

View Article


How to do Ethernet/NIC bonding/teaming in Red Hat Linux

NICteaming/bonding is used mostly in scenarios where you cannot afford to loose connectivity due to ethernet failover issues and also it has many other advantages like to distribute bandwidth, fault...

View Article

How to install/uninstall/upgrade rpm package with/without dependencies

A RPM package abbreviated as Red Hat Package Manager refers to Red Hat package installed on Fedora, CentOS, OEL and all Red Hat source code derived OS.To know more about a rpm package click on the...

View Article

How to give normal user root privileges using sudo in Linux/Unix

In this post I will be very brief on the topic we need to do. As for more knowledge on sudo command and sudoers file follow the below linkHow to give permission to user to run some commands in LinuxAs...

View Article


How to unlink/delete a symbolic in Linux

In my earlier post I had shown you in detail the steps to create a soft link and hard link in Linux. If you have missed it you can read about the same in below linkHow to create Soft Link (Symlink) and...

View Article


How to create user without useradd command in Linux

Follow these steps to create a user without using useradd command in Red Hat Linux.Step 1Add an entry of user details in /etc/passwd# vi /etc/passwduser:x:501:501:test user:/home/user:/bin/bashStep...

View Article

How to create password less ssh connection for multiple non-root users

I had done password less shh authentication between multiple Linux box a couple of time but this time I had to do the same for normal user. I thought it would be same and actually it is the same but...

View Article

How does a DNS query works when you type a URL on your browser?

Ever Wondered How does a DNS query works? I mean what happens exactly when you type www.golinuxhub.com on your browser. Honestly most of us are not bothered unless the web page doesnot opens.Anyways...

View Article

What is a Kernel in Linux?

This is the first question which should come to your mind when you start reading and knowing Linux because without knowing what a kernel is you can not move ahead.Let me help you understand...

View Article


Interview Questions on Linux Filesystems

1. What is the filesystem used in Rhel 5 and Rhel 6?Ans: ext3 for RHEL 5 and ext4 for RHEL 62. What is the difference between ext3 and ext4 filesystem?Ans:Ext3Maximum individual file size can be from...

View Article

Interview Questions on Linux User Management

1. How can you create a user without useradd commandAns: Follow the below linkHow to create a user without useradd command?2. What is the default permission on user's home directory?Ans: 7003. What is...

View Article


Interview Questions on Linux Networking

1. How do you perform NIC teaming?Ans: Follow the below linkNIC Bonding in Red Hat Linux2. What is the difference between TCP and UDP protocol?Ans: TCP is a connection oriented protocol and contain the...

View Article

Interview Questions on Linux Permissions

1.What is the difference between SUID and SGID?Understanding special permission SUIDUnderstanding special permission SGID2. What is Sticky Bit permission?Understanding special permission Sticky Bit3....

View Article


Linux Interview General Questions

1. Explain in detail the Linux booting procedure  1. When a Linux machine is powered on BIOS loads up first.It will prompt you to select boot device which can be Hard disk, CD-ROM, Floppy drive,...

View Article

SYSLOG Tutorial

Syslog is one of the most important standards used in Linux as it is the key file which helps you determine the different level of logs which are getting generated and stored every second while you are...

View Article

What is the difference between DNS A record and CNAME record ?

A recordIt is the Address records also known as host recordsPoints to the IP address reflecting the domainUsed for forward lookup of any domain nameFor example:Our website is configured on 50.63.202.15...

View Article
Browsing all 392 articles
Browse latest View live