Slide 2 : Local Login
Text-mode login at virtual console.
Graphical login.
Virtual Consoles
Multiple non-GUI logins are possible.
There are by default 6 available virtual consoles.
For GUI login , CTRL-ALT- F7.
Slide 3 : General information :
Linux file names can be up to 14 characters long and include the _ and the . characters.
Every Linux command or filename is case sensitive, unlike DOS, this is the most common error to be aware of. This is so that one user does not hog one program, many people can access it. Such a program is called a 'daemon'.
Slide 4 : Typical file structure of Linux :
Slide 5 : Running commands
Commands have the following syntax.
Command [option] [arguments]
Each item is separated by a space.
Option modify the command’s behavior.
Argument are filename or other information needed by command.
Separated command with semicolon ( ; ).
Slide 6 : Current Working Directory :
pwd
Display the absolute path to the current directory.
Changing Directories :
cd Changes directories
Slide 7 : To a relative path
cd doc
To a directory one level up
cd ..
To your home directory
cd
To your previous working directory
cd –
Slide 8 : Listing Directory contents :
ls : list of file
option - -l : complete list
-a : also show hidden file
The Home Directory :
Every user has a home directory, typically under /home.
Contain user-specific configuration files as well as data.
Represented by the ~ character.
Slide 9 : date – display date and time.
cal – display calender
Ctrl-c
Stops a command or program that is currently being executed.
Ctrl-d
Removes you from the current environment, this will log you out of the system if you are at a shell prompt.
Slide 10 : Getting Help : man Pages
Man display pages from reference manual
Manual contains multiple sections.
Key string or key word searches.
Other Help Utilities :
Command –-help
Info command