Вы находитесь на странице: 1из 109

LINUX

PRESENTATION

BY, Nikhil v jain

What Is Linux? What Is Linux? What Is Linux?


The most commonly used Operating System The most commonly used Operating for this purpose is Linux - Operating it's Open Source The most commonly used System for System for this purpose the Linux is Open too, this purpose is Linux - it's Open Source too,

Source too,

It's based on Unix which was and an It's based on Unix which was and isis an It's based on Unix which was and is an operating systems designed from the ground operating systems designed from the ground up operating systems designed from the up for a multiuser environment. for a multiuser environment.

ground up for a multiuser environment.

Linux Basic and Advance Commands

ls command lists the files and directories under current working directory.

mkdir command is used to create one or more directories.

cd - change directories

Cat> command Create's a File

bc command is used for command line calculator.

rm linux command is used to remove/delete the file from the directory.

echo command prints the given input string to standard output.

cal command is used to display the calendar.

Whatis command displays the purpose of the command

ls -a command Lists all entries including hidden files.

Help command display help for a built-in command.

alias command allows to create a shortcut to a command.

free command displays information about free and used memory on the system.

awk command is used to manipulate the text.

Time command measure Program running time

pwd - Print Working Directory. pwd command prints the full filename of the current working directory.

who command list the names of users currently logged in, their terminal, the time they have been logged in, and the name of the host from which they have logged in.

cmp linux command compares two files and tells you which line numbers are different.

cut command is used to cut out selected fields of each

line of a file.

date command prints the date and time.

df command is used to report how much free disk space is available for each mount available.

diff command is used to find differences between two files.

du command is used to report how much disk space a file or directory occupies.

egrep command is used to search and find one or more files for lines that match the given string or word.

file command tells you if the object you are looking at is a file or a directory.

head command is used to display the first ten lines of a file, and also specifies how many lines to display.

tail command is used to display the last or bottom part of the file. By default it displays last 10 lines of a file.

Dig command performs DNS lookup

man command which is short for manual, provides in depth information about the requested command

grep command selects and prints the lines from a file which matches a given string or pattern.

rmdir command is used to delete/remove a directory and its subdirectories.

groups command is used to print the groups a user is in.

hostname specifies the name of the host.

host command is used to find the ip address of the given domain name and also prints the domain name for the given ip.

id command prints the effective(current) and real userid(UID)s and groupid(GID)s.

jobs command is used to list the jobs that you are running in the background and in the foreground.

kill command is used to kill the background process.

last command is used to display the last logged in users list.

whoami command Print the current user id and name (`id -un')

ps command is used to report the process status. ps is the short name for Process Status.

Dirs command Display list of remembered directories

dircolors Colour setup for `ls'

rm linux command is used to remove/delete the file from the directory.

link command is used to create a link to a file. It is also called as hard link. Inode will be same for source and destination.

lsattr command is used to list the attributes of the specified file or directory.

more command is used to display text in the terminal screen. It allows only backward movement.

mv command which is short for move. It is used to move/rename file from one directory to another.

nestat command displays statistics information and current state of network connections, protocol, ports/ sockets and devices.

passwd command is used to change your password.

paste command is used to paste the content from one file to another file. It is also used to set column format for each line.

printf command is used to write formatted output.

restore - command restores the data from the dump-file or backup-file created using dump command.

route command displays routing table resides in kernel and also used to modify the routing table.

sort command is used to sort the lines in a text file.

sed is a stream editor. sed command helps to edit or delete all occurrences of one string to another within a file.

whois command lists the information about the domain owner of the given domain.

yes command repeatedly prints the given string separated by a space and followed by a newline until it is killed

Aspell command is a Spell Checker

command Run a command - ignoring shell functions

bc - Arbitrary precision calculator language

dir - Briefly list directory contents

dirname - Convert a full pathname to just a path

dmesg - Print kernel & driver messages

eval - Evaluate several commands/arguments

expr - Evaluate expressions

locate - Find files

fmt - Reformat paragraph text

fold - Wrap text to fit a specified width.

for - Expand words, and execute commands

fsck - File system consistency check and repair

getopts - Parse positional parameters

gzip - Compress or decompress named file(s)

gunzip - decompress files created by `gzip', `zip', `compress' or `pack'

hash - Remember the full pathname of a name argument

times - User and system times

history - Command History

killall -l - List all known signal names.

nl - Number lines and write files

nohup - Run a command immune to hangups

popd - Restore the previous value of the current directory

pr -

Prepare files for printing

pushd - Save and then change the current directory

quota - Display disk usage and limits

rev - Reverse lines of a file

screen - Multiplex terminal, run remote shells via ssh

scp - Secure copy (remote file copy)

sdiff - Merge two files interactively

Select - Accept keyboard input

seq - Print numeric sequences

shopt - Shell Options

Shutdown - Shutdown or restart linux

sleep - Delay for a specified time

su -

Substitute user identity

sudo - Execute a command as another user

cksum - Print CRC checksum and byte counts

tsort - Topological sort

ulimit - Limit user resources

unalias - Remove an alias

uname - Print system information

users - List users currently logged in

Вам также может понравиться