Unix Fundamentals: by - Sarvesh Kumar Gupta
Unix Fundamentals: by - Sarvesh Kumar Gupta
FUNDAMENTALS
History Of Unix
Features of Unix
Unix System Organization
Unix File System
Commands
VI Editor
History Of Unix
UNIX requires about 1MB RAM space for each extra terminal
connected to it
Features of UNIX…
Multi-user Capability
Multitasking
Security
Allows sharing of data
Portability
Kernel
Users
Hardware
System Organization
Logging to Unix
Access to Unix is through a login and a password
Login & password will be created by the System administrator
Password will not be visible while typing
After three successive failures of login, the login will be
disabled
If login/password or both not entered correctly, it returns a
message “login incorrect”
After Successful login, command prompt is displayed (# or $)
Behind the Logging ….
login/password
Press Ctrl +d
Ground Rules ::
Eg : ls –la
Commands
To know the free spaces in the UNIX, the df (disk free) command
can be used
$df
/(dev/root): 12500 blocks 27654 I-nodes
df gives the blocks of 512 bytes size
To know the disk usage, give:
$du
UNIX uses a variable called ulimit which controls the maximum
file size any user can create
This is to save the disk space misuse.
$ulimit
Commands
Soft/symbolic Link
# ln –s Old file New file
Can link directories.
Can link across file-systems.
Commands
gzip <filename>
gunzip <filename>.z
Try these Commands !!!
ps
tty
stty
date
whoami
who
bc – calculator
id
clear
echo $?
locate <filename>
Try these commands !!!