≡ Menu

colon

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

How do I copy a file with a colon punctuation (:) name in it. When I type the following command to copy "file:name.txt" to a remote host called server1:

scp file:name.txt user@server1:/path

I get the following error:

ssh: Could not resolve hostname s: Name or service not known

How do I copy file with scp or rsync with a colon in it?
[click to continue…]

HowTo: Save File in Vi / Vim Text Editor

I'm new to Linux or UNIX like operating system. I just wanted to create a file called demo.txt and save & close it using vi text editor. How do I save a file using vi?
[click to continue…]

Understanding /etc/group File

Can you explain me the format of /etc/group user group file under Linux / UNIX operating systems?
[click to continue…]