

















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This lecture was delivered by Dr. Hanif Durad at Pakistan Institute of Engineering and Applied Sciences, Islamabad (PIEAS) for Linux workshop. It includes: Linux, Login, Through, Putty, Reading, Date, Taking, Calendar, UNIX, Logging, Out, File, System, Layout
Typology: Slides
1 / 57
This page cannot be seen from the preview
Don't miss anything!


















































Dr. Hanif Durad
Login Through Putty
Reading Date from system
Changing Password
Taking Calendar
UNIX Name You are Using
Who Logged on the System
User id
The Basics: Moving Around Directories
Logging out
Dr. Hanif Durad
Dr. Hanif Durad
Changing password for hanif
Old Password:New Password:Re-enter Password:In this way your old password is changed.
Dr. Hanif Durad
Dr. Hanif Durad
[hanif@lgpc-01 ~]$ whoasif
pts/
hanif
pts/
[hanif@lgpc-01 ~]$ w
10:58:48 up 6 days, 20:48, 2 users, load average: 0.13, 0.16, 0. USER
asif
pts/
0.00s 0.00s -bash
hanif
pts/
0.00s 0.08s 0.00s w
Dr. Hanif Durad
pwd: print working directorycd : change working directory~ : home directory. : current directory/ : root directory, or directory separator.. : parent directory
Hisham, P-
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Text files
Data files
Command files
Executable files
Dr. Hanif Durad
Dr. Hanif Durad
Ummi-Hani, P-23/
[hanif@lgpc-01 ~]$ ls /bin
dev
lib
media net
root
srv
tmp
boot
etc
lib
misc
opt
sbin
storage usr
cgroup home lost+found mnt
proc selinux sys
var
Dr. Hanif Durad
[hanif@lgpc-01 ~]$ cat han1.txtThis is my first file.[hanif@lgpc-01 ~]$ more han1.txtThis is my first file.[hanif@lgpc-01 ~]$ head han1.txt[hanif@lgpc-01 ~]$ tail han1.txt
Dr. Hanif Durad
Use ‘ls’ command for listing the directory contents[hanif@lgpc-01 ~]$ ls
Without any arguments ls lists the files ofcurrent directory in alphabetical order.
Dr. Hanif Durad