How to list all TCP ports in Linux ?
In this post, we will check how to list all TCP ports in Linux. Lets us quickly check the command and output: [root@nglinux ~]# cat /etc/services | grep -Po '^\w+.*\d{1,5}/tcp'...
In this category, you can see all articles related to Unix or Linux operating System.
In this post, we will check how to list all TCP ports in Linux. Lets us quickly check the command and output: [root@nglinux ~]# cat /etc/services | grep -Po '^\w+.*\d{1,5}/tcp'...
We all as a system admin should know how to find all hard links to a file on our system. So let us have a look, how to find this...
In this post, we will check how to set/change domain name of our system in RHEL6 or CentOS6. NGE Linux 1.0 is based on CentOS 6, hence everything based on...
In RHEL 6 or CentOS 6, sometimes we do encounter a strange issue and we are not able to restart network service with below error. RTNETLINK answers: File exists Error...
During redhat cluster configuration, when adding the nodes into cluster, sometimes it is failed with below error on the screen. service cman start failed To resolve this issue, try to...
There are many monitoring tools available to measure disk read or write speed. However suppose if we have slow disk performance and want to measure the disk read/write speed manually...
While restarting cgconfig service, many of the times we used to encounter “Device or resourse busy error” and the service restart gets failed. [root@nglinux ~]# service cgconfig restart Stopping cgconfig...
We have seen many posts how to limit memory or cpu for a user/group using /etc/security/limits.conf file. However when we limit memory usage by referencing AS(address space) in /etc/security/limits.conf file,...
Today we will look what is : in bash shell in Linux or Unix and how to use it, and what is its impact if used. What is : (colon)...
In this article, we will look how to limit memory usage by a process on Linux system, Again for this trick, we can use the file /etc/security/limits.conf to pose the...