COMMANDS OF LINUX

Views:
 
     
 

Presentation Description

No description available.

Comments

By: exodusnaixus (44 month(s) ago)

Please, May I have a copy? exodusnaixus@gmail.com

By: kishore.sonti (46 month(s) ago)

send this ppt to my mail id "kishore.sonti@gmail.com"

Presentation Transcript

COMMANDS OF LINUX : 

COMMANDS OF LINUX BY: AMIT KANSARA (04) JAY SHAH (23) MAYUR PHOTOWALA (32) NUPUR THAKKAR (38)

Agenda : 

Agenda Introduction of Linux Command Shell Execution of different commands

Introduction of Linux : 

Introduction of Linux Linus Benedict Torvalds is the founder of Linux operating system. First it was only CLI operating system, now it is both CLI and GUI operating system. There are many flavors of Linux in market.

Introduction of Linux : 

Introduction of Linux Open source development model. Supports wide variety of hardware. Supports many networking protocols and configurations. Supports more File systems. Linux has a reputation for fewer bugs (programming mistakes) than Windows.

Command Shell : 

Command Shell Shell is the outermost part of an operating system that interacts with user commands. Allows a user to execute commands by typing them manually at a terminal, or automatically in programs called shell scripts. BASH has been adopted as default shell on most Linux systems. In Linux commands and filenames are case sensitive.

Execution of different commands : 

Execution of different commands Most common commands are located in your shell's “PATH”, meaning that you can just type the name of the program to execute it. To execute commands that are not in your current PATH, you have to give the complete location of the command.

Execution of different commands : 

Execution of different commands login Syntex: $login [-fp] [-h hostname] [user] To log in to computer. To switch from one user to another. Options -f Use to skip second login authentication. -p Use to keep the previous environment. -h Specify the host for the recieved connection.

Execution of different commands : 

Execution of different commands logout Syntax: $logout [n] To logout from the system. Sometimes ‘exit’ is used in stead of logout. To exit from the sub-shell.

Execution of different commands : 

Execution of different commands date Syntax: $date [option]… [+Formate] Date with no arguments gives current time and date. Formate D Date in mm/dd/yy formate. X Date in standard formate.

Execution of different commands : 

Execution of different commands man Syntax: $man [option] [commandname] Display helpful information about the command. Option -s Restrict the information displayed. -k Search by command description.

Execution of different commands : 

Execution of different commands pwd Syntax: $pwd [-LP] Print working directory. Shows the current folder as an absolute path. Options -P Path name will not contain any symbolic links. -L Path name may contain symbolic links.

Execution of different commands : 

Execution of different commands who Syntax: $who [options] [file] [am i] Print all users who are currently logged in. Options -q Print only login names and no of users logged on. -m Print the current user id, name and domain. -i,-u,--idle To know the ideal time of the logged user.

Execution of different commands : 

Execution of different commands whoami Syntax: $whoami [options] Prints current user ID and name. Options --help Display help. --version Display program version information.

Execution of different commands : 

Execution of different commands dir Syntax: $dir Briefly lists directory contents. Files are listed in columns by default and sorted vertically.

Execution of different commands : 

Execution of different commands mkdir Syntax: $mkdir [options] Folder $mkdir ‘Name with spaces’ Creates new folder. It creates standard the entries (.) for current and (..) For parent folder.

Execution of different commands : 

Execution of different commands Options -m Set permission mode. -p Make parent directories as needed if no error.

Execution of different commands : 

Execution of different commands rmdir Syntax: $rmdir [options] Folder It removes directory. It works only if the folders to be deleted are empty.

Execution of different commands : 

Execution of different commands mv Syntax: $mv [options] [Source] [destination] $mv [options] [source] [Directory] Move or rename files or directories. Options -b Make a back up of each file. -i Prompt whether to overwrite each existing destination file.

Execution of different commands : 

Execution of different commands Options -v Print the name of each file before moving it. -u Do not move a nondirectory that has existing destination with same or newer modification time.

Execution of different commands : 

Execution of different commands rm Syntax: $rm [options] … file… Remove (delete/unlink) files. Options -d Unlink directory, even if non-empty. -i Prompt before any removal. -r, -R Remove the contents of directories recursively.

Execution of different commands : 

Execution of different commands cd Syntax: $cd [options] [directory] Change the current working directory to a specific folder. Options -P do not follow symbolic links. -L Follow symbolic links(Default).

Execution of different commands : 

Execution of different commands ls Syntax: $ls [Options] [File] Listing information about files. Options -a Do not hide entries begin with (.). -d List directory entries instead of contents.

Execution of different commands : 

Execution of different commands Options -s Print size of each file, in blocks. -t Sort by modification time. -i Print index number of each file. -l Use a long listing format.

Execution of different commands : 

Execution of different commands time Syntax: $time Print out the user and system times used by the shell and its children. clear Syntex: $clear Clear terminal screen.

Execution of different commands : 

Execution of different commands history Syntax: $history Indicates Command Line history. Options -w Write out the current history to the history file. -c Clear the history list. -r Read the current history file.

Execution of different commands : 

Execution of different commands cat Syntax: $cat [Options] [File] Display the contents of a file. Options -b Number of nonblank output lines. -n Number of all output lines.

Slide 27: 

Thank you…