0% found this document useful (0 votes)
8 views1 page

Essential Unix/Linux Command Guide

This document provides a summary of basic Unix/Linux commands and their descriptions. It lists commands for copying, moving, renaming, removing files and directories, listing directory contents, changing directories, displaying the current working directory path, making directories, removing empty directories, showing default file permissions, searching files for strings, concatenating and displaying files, creating and managing user groups, changing file and directory permissions and ownerships, setting and obtaining shell and environment variables, echoing to standard output, browsing text files, saving command output, finding files, displaying manual pages, changing passwords, terminating processes, displaying process status, logging into remote machines, and displaying system information.

Uploaded by

jahannu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Essential Unix/Linux Command Guide

This document provides a summary of basic Unix/Linux commands and their descriptions. It lists commands for copying, moving, renaming, removing files and directories, listing directory contents, changing directories, displaying the current working directory path, making directories, removing empty directories, showing default file permissions, searching files for strings, concatenating and displaying files, creating and managing user groups, changing file and directory permissions and ownerships, setting and obtaining shell and environment variables, echoing to standard output, browsing text files, saving command output, finding files, displaying manual pages, changing passwords, terminating processes, displaying process status, logging into remote machines, and displaying system information.

Uploaded by

jahannu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Basic Unix / Linux Commands

Command Description

cp Copy files
mv Move or rename files/directories
rm Remove files or directories
ls List the contents of a directory
cd Change working directory
pwd Display the pathname of the current working directory
mkdir Make a directory
rmdir Remove directories, if it is empty
umask Show the permissions that are given to view files by default

grep Search a file for a string or regular expression


cat Concatenate and display

groupadd Create a user group


chgrp Change the group ownership of a file
chmod Change the permissions mode of a file
chown Change owner

set Set the values of all shell variables


setenv Set environment variables
env Obtain or alter environment variables for command execution

echo Echo arguments to the standard options


more Browse or page through a text file or an output of a command
script Save the output of a command or process

find Find files by name, or by other characteristics

man Display reference manual pages; find reference pages by keyword

passwd Change user password


kill Terminate a process
ps Display the status of current processes
top Display all system processes
rlogin Start a login to a different machine
uname Display name of the current system
uptime Get the system up time
exit Quit the system

DB Streams Inc.
[Link]

You might also like