≡ Menu

root root

Could not chdir to home directory /root: No such file or directory Error and Solution

When I ssh into my server and login as t root user and I’m getting the following error on screen:

Could not chdir to home directory /root: No such file or directory

How do I fix this error under CentOS or Debian Linux server?
[click to continue…]

Sysadmin because even developers need heroes!!!

Linux Command: List All Users In The System

I‘m a new Linux sys admin and I’m unable to find the command to list all users on my RHEL server. What is the command to list users under Linux operating systems?
[click to continue…]

Linux: Show The Groups a User Is In

How do I find out what groups I belong to under Linux operating systems?
[click to continue…]

Linux / Unix: Bash Find Matching All Dot Files

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?
[click to continue…]

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

UNIX / Linux: Explains setuid File Permission

What does it mean for a file to be “setuid?” How do keep track of all setuid enabled file?
[click to continue…]

UNIX / Linux: Explain The Nine Permissions Bits On Files

Can you completely explain the nine permissions bits on UNIX or Linux files?
[click to continue…]

Linux realpath: Find Absolute Pathname For Given Command or File

How do I find out the canonicalised absolute pathname for a given command or file under Linux operating systems?
[click to continue…]

UNIX vdir Only Directories

How do I vdir only directories under UNIX / Linux operating systems?
[click to continue…]

How To Use chmod and chown Command

How do I use chmod and chown command under Linux / Unix operating systems?
[click to continue…]