Submitted by DJ KING on Thu, 19/08/2004 - 07:33.

GNU/Linux Command Line session (1) :

In GNU/Linux everything is a file ... All configurations have files Using the text mode on GNU/Linux Operating System is pretty light .. The following figure shows how does the system work on your GNU/Linux Operating System ( User - Utility - !Shell - Kernel - Hardware )

commandline1

We have to types of Termianls :

  1. Virtual Terminal ---> cause there is no other machine ( as in figure 2 ) " A mainframe with terminals "

commandline1

  1. Terminal Emalaturs ( Pesudo ) ---> from the GUI ( Graphical User Interface )

tty , pts

try using the command tty from any GUI terminal ( pesudo ) , most probably you'll get something like : /dev/pts1 or /dev/pts now use the terminals through Alt+Ctrl+F1 .... F6

The general form of any command is like :

  • command ] [
  • command -option []
  • command -option ] [

[] == argument

$ls -la 
$ls –list
$ls --almost -list
$ls -h
!( h : for human readable )

ls -k is your friend ..

$man -k

What manual page do you want?

usage of man -k is something like :
$man -k kernel
$man -k copy 
$man -k delete 

so you can get use of it when you don't know the specific command to get it's manual directly like
$man cp
( the copying command )
$man mv
( the moving "deleting command - or renaming )

man is the short name of manual and you can use the command info as well which is a documention browsing system

  • ___/
  • |
  • |___/bin
___/boot
___/dev
___/etc
___/home
___/initrd
___/lib
___/lost+found
___/media
___/mnt
___/opt
___/proc
___/root
___/sbin
___/srv
___/sys
___/tmp
___/usr
___/var

Old School ASCII Graphics ;)

the famous command cd cd .. " Up " cd - " Back"