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

How to fix "E575: viminfo: Illegal starting char in line"

The other day I was trying to open a text file to work on it but surprisingly on my every attempt to open the file, the below error was coming up and not allowing me to edit or save the file.Error:$ vi...

View Article


What is the difference/comparison between Unix and Linux ?

There are not much differences between Linux and UNIX in terms of most of the commands and working if looking from an end-user perspective. But internally in the sense of hardware, kernel, patches etc...

View Article


10 practical examples to use USERADD command in linux

Q: How do you know what default values would be assigned to a user when created using useradd command?A: These are the two files which contain the default values to be assigned to a user when created...

View Article

How to find/view all the members of a group in Linux

Now in Linux we have two types of groupsPrimary GroupSecondary GroupView all the members of the primary groupFirst you need to know the GID of the group of whoose members you want to query forSyntax:#...

View Article

Overview of services used in Red Hat Cluster

Below are a list of services used in Red Hat Cluster.ccsdThis is an abbreviation used for Cluster Configuration System daemonThis is responsible for loading /etc/cluster/cluster.conf and managing...

View Article


How to check last login time for users in Linux

There are few commands which you can use to get a list of last logged in users with time detailsCommand 1last - show listing of last logged in usersDescriptionThis command searches  back through the...

View Article

How to configure Linux client to join samba4 domain

Q: Is it possible to join Linux client to Samba4 Domain server? If Yes, How?A: Yes it is possible. You can use a third party client tool to do the same i.e. Power Breaker Integration Services i.e PBIS...

View Article

How to configure GFS2 partition in Red Hat Cluster

GFS2 is based on a 64-bit architecture, which can theoretically accommodate an 8 EB file system. However, the current supported maximum size of a GFS2 file system for 64-bit hardware is 100 TB. The...

View Article


Your filesystem or build does not support posix ACLs, which s3fs requires

Error:Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option."Description:I got this error while trying to run the provision...

View Article


How to exclude some directories from find command in Linux

There can be cases where you are searching for a file but you want to exclude some particular directories from the search.-prune is used to ignore files and directories from your searchLets see some...

View Article

How to track all the successful and failed login attempts by users in Linux

There are various commands which can be used for this purpose. I will try to briefly explain each of them with examplesMethod 1All the login attempts made to your system are stored in /var/log/secure....

View Article

Understanding UMASK value in Linux

What is umask value?In computing, umask is a command that determines the default permission to be set on any file or directory is created. It also refers to a function that sets the mask, and to the...

View Article

Disk Attachment Technology FC vs SAS vs iSCSI

In this article I will try to brief about the methods used for attaching hard disk to servers. Mainly it can be separated into 3 categories as shown below Fibre Channel (FC) Serial-Attached SCSI (SAS)...

View Article


Image may be NSFW.
Clik here to view.

How to secure boot loader (grub menu) with password in RHEL 6

Below is the GRUB menu where we are planning to put the password so that no one logs in to single user mode without permissionAs you can see by default anyone can press "e" and edit the grub menu to...

View Article

How to configure logrotate for a new log file in Red Hat Linux

What is logrotate?logrotate  is  designed to ease administration of systems that generate large numbers of log files.  It allows automatic rotation, compression, removal, and mailing of log files....

View Article


Image may be NSFW.
Clik here to view.

How to run a process in background or bring to foreground in Linux

Running a process in backgroundWhat if you a script which takes more than 24 hours to run so in those cases it is not a good idea to run them on putty as in any case of connection failure your putty...

View Article

Understanding Load Average in Linux and when to be worried about it?

The one of the most important task of any Linux Admin includes performance monitoring which includes a parameter "Load Average" or "CPU Load".Load Average is the value which represents the load on your...

View Article


How to configure passwordless sudo for a user in Linux

In this article I will be very brief on the topic. For more details you can read the below article on sudo and assigning permissionsHow to give permission to user to run some commands in LinuxThere is...

View Article

df shows 100% full partition even when there is space on the disk

Now this is a situation where I got stucked into the other day where df -h showed me the partition was 100% full disrupting many of the the applications using that partition.# df -h /var/Filesystem...

View Article

How do you check Linux machine is Physical or Virtual remotely?

There is no hard and fast rule to check whether the machine is physical or virtual but still we do have some commands which can be used for the some purpose.NOTE: There might be other commands as well...

View Article
Browsing all 392 articles
Browse latest View live


Latest Images