≡ Menu

grep command

CentOS / RHEL: Delete Old Yum Repositories and Configuration Files

How do I delete old yum repositories and configuration files under RHEL 5 or CentOS Linux server?
[click to continue…]

RHEL 6: Change OpenSSH Port To 1255 ( SELinux Config )

I've edited /etc/ssh/sshd_config to change the port number:

Port 1255

However, I'm getting an error as follows:

sshd[26792]: error: Bind to port 1255 on failed: Permission denied

How do I change default OpenSSH port number from 22 to 1255 under RedHat Enterprise Linux server version 6 and SELinux?
[click to continue…]

Linux Install an RPM File

I'm a new Linux system administrator and wanted to perform software installation and maintenance. I've downloaded a file called awstats.i386.rpm and how do I install it under CentOS / RHEL / Suse / Fedora / Redhat Linux?
[click to continue…]

Ubuntu Linux Stop a Process

How do I stop a process under Ubuntu Linux using command line and GUI tools?
[click to continue…]

grep Command Tutorial For Ubuntu / Debian Linux

I recently switched from MS-Windows XP to Ubuntu Linux. How do I use the grep command on Ubuntu or Debian Linux? Can you give us some practical examples?
[click to continue…]

Linux / UNIX: See If Particular Users Are Logged Into Server

How do I see if my friends or coworkers are logged into the same Linux or BSD or UNIX (AIX, HP-UX, Apple OS X) server / workstation as I am from a command line?
[click to continue…]

Bash Shell: Extract Digits From a String

How do I extract digits only from a given string under Bash shell?
[click to continue…]

Linux: Iptables Find / Check Banned IP Address

How do I find or check IP's that are currently banned using iptables command in Linux? How do I verify that IP address is banned or not in Linux?
[click to continue…]

Find out if NFS Service Running On Linux / Unix Server

How do I find out if NFS server or service is running or not on my Linux or Unix based server?
[click to continue…]

Linux: Find Out My Group Name [ Group Memberships ]

How do I find out the group name under Linux operating systems using bash shell prompt? How do I display group information for the specified USERNAME under Linux?
[click to continue…]