Unit 2
LINUX COMMANDS & FILTERS
How to login into a Linux system
1. You can access a Linux system in two ways
--> Locally(by sitting at the client machine on the networking)
-->Remotely (by sitting on the client machine on the network)
Once you have access to Linux system you will have to login with your computer with your user name & password
Linux is a multi user OS, each user is request to Login so as to insure system security
Login user1
Password *******
BASIC LINUX COMMAND
There are several Program's in the Linux. To run there program you can run one of the command eg. When you run CAL command. It mean telling the Linux command interpreter to execute or run a program with the name CAL & Display the result on the screen. Every command has its own purpose before entering Linux command. Some rules must be followed
1. Type all Linux command in small case letter
2. Provide a space b/w The command name & other option available
3. You can stop a command by prising cntrl + C Linux STOP the command & return to the system prompt
1. WHO COMMAND
In a multi user system there are many users logged into the system if you want to see the list of all user who are currently logged in then Linux provides you the who command for this purpose
Eg
$WHO enter
Rahul Pts/07 Apr 5 10:15
Ashísh pts/10 Apr 5 10:30
Mohit Pts /20 Apt 5 10:50
each line in the o/p represent abuse
1. The first field is the user login name
2 user terminal ID
3 data & time when user logged in
$ who am I
Rahul. Pts/07 Apr 10:15