≡ Menu

grep command

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…]

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…]