0% found this document useful (0 votes)
10 views2 pages

Essential Unix Command Guide

The document outlines basic Unix commands for getting help, managing files and directories, viewing system status and networking. It describes commands for viewing manual pages, listing files and users, copying, removing and moving files, changing directories and more.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Essential Unix Command Guide

The document outlines basic Unix commands for getting help, managing files and directories, viewing system status and networking. It describes commands for viewing manual pages, listing files and users, copying, removing and moving files, changing directories and more.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Basic Unix Commands

Getting help in Unix

 man – view manual pages for Unix commands

Unix Shell Commands

 clear – clear screen


 history – show history of previous commands

Time and Date commands

 date – show current date and time

Unix users commands

These commands allow you to get basic information about Unix users in your
environment.

 whoami – show your username


 who – find out who is logged into the system

Unix file operations

Navigating filesystem and managing files and access permissions:

 ls – list files and directories


 cp – copy files (work in progress)
 rm – remove files and directories (work in progress)
 mv – rename or move files and directories to another location

Text file operations in Unix

Most of important configuration in Unix is in clear text files, these commands will
let you quickly inspect files or view logs:

 cat – concatenate files and show contents to the standard output

Unix directory management commands

Navigating filesystems and managing directories:

 cd – change directory


 pwd – confirm current directory
 mkdir – make new directory
 rmdir – remove directories in Unix

Unix system status commands

Most useful commands for reviewing hostname configuration and vital stats:
 hostname – show or set server hostname

Networking commands in Unix

Most useful commands for inspecting network setup and exploring network
connections and ports:

 ifconfig – show and set IP addresses (found almost everywhere)


 ip – show and set IP addresses (in recent Linux versions)
 ping – check if remote host is reachable via ICMP ping
 netstat – show network stats and routing information

You might also like