Download presentation
Presentation is loading. Please wait.
Published byJob Robinson Modified over 9 years ago
1
Linux - Training Rajesh Charles
2
Linux– Introduction Linux is just a Kernel. Linux can be divided into two major components 1.Kernel (interacts with machine hardware) 2.Shell (interacts with the user) The kernel is the essential center of a computer operating system, the core that provides basic services for all other parts of the operating system. A synonym is nucleus. A kernel can be contrasted with a shell, the outermost part of an operating system that interacts with user commands.
3
Linux– Architecture
4
Linux– File Structure Basically organizes the way data is stored inside the storage device, such as Disk
5
Linux– Interface There are two types of Interface in Operating System 1.Graphical User Interface () 2.Command Line Interface () Graphical User Interface Command Line Interface
6
Linux– Command Line Interface Lets Now take a look into the various Commands in Linux. SnoCommandsDescription 1 lslists your present working directory 2 ls -llist with data modified 3 ls -alist all the file with the hidden files 4cdchange directory 5cat 'filename'to read a file 6Shft +pg upto go next page 7pwdto find the present working directory 8mv to copy a file - we are literally moveing the file in the same directory put the ' if the file has spaces To move it to a specific folder mv filename Test/filename 9mkdirto make a new directory
7
Linux– Command Line Interface SnoCommandsDescription 10tar -cvzf rajesh.tar.gz Rajeshto create a Archive file 11tar -xvzf rajesh.tar.gz Rajeshto extrace the tar 12rm Filenameto remove a file 13ls -l >list.txtoutput a commad 14 wget http://www.capser.us/QATraining/basictest.p hpto download a file fromt the internet 15man unziphelp file 16 grep "literal_string" filename Search for the given string in a single file 17 grep "string" FILE_PATTERN Checking for the given string in multiple files 18 grep -A 3 -i "example" demo_text -A is the option which prints the specified N lines after the match as shown below 19 grep -B 2 "single WORD" demo_text -B is the option which prints the specified N lines before the match. 20grep -C 2 "Example" demo_text-C option shows N lines in both the side(before & after) of match.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.