Basic UNIX commands
Basic UNIX commands
Online documentation of most of the UNIX commands is available. In order to access it type man and then the name of the command. For example typing man vi, man emacs will give you access to the documentation of two popular UNIX editors vi and emacs. Documentation of g++ compiler is also available. Type man g++ to get it. Visit the website if you want to get a more detailed description of the compiler.
ls list names of all files in current directory
cp copy files
mv move files
rm remove files
pwd print working directory
cd change directory
mkdir make a new directory
rmdir remove an empty directory
chmod change permissions
Permissions
(i) Directories
drwxrwxrwx
d – indicates that the object is a directory
r – can read the files inside the directory
w – can create and delete files in this directory
x – may search for a file inside the directory
(ii) Files
-rwxrwxrwx
r – can read the file
w – can make changes/remove the file
x – can execute the program contained inside the file
The first set of three characters (rwx) refers to the owner, the second set refers to the group of the owner and the third to the rest of the user’s of the system. The letter indicates that the permission is given. If there is a dash – instead of the letter the permission is not given.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- basic linux commands pdf
- unix commands for windows 10
- basic linux commands cheat sheet
- all unix commands with examples
- list of unix commands pdf
- basic unix command
- basic networking commands pdf
- basic coding commands cheat sheet
- basic cmd commands pdf
- basic python commands pdf
- basic html commands cheat sheet
- basic python commands list