Friday, October 14, 2011

MODULE 2 BASIC LINUX COMMANDS


LEARNING OBJECTIVES:
1. Introduce to students the basic commands of Linux as a basic mastery of the concept of computer security especially in network security and operating system
2. Students are able to operate the basic commands in linux.












BASIC THEORY
In using the Linux operating system, in addition to Linux desktops need to be understood graphically but need to also understand how to use command line / terminal, because almost all the commands, such as deleting a directory, it should be run via command line. The following lab will try to practice the basic commands used in the management of files and folders in Linux.

As with any command in DOS, the command line or command line in Linux is also typed at the prompt and enter to execute the command terminated it. The command line is a more efficient way to do any work therefore on the Linux way is still used in work since their functionality can be relied upon.

EXPERIMENT
Try linux basic commands one by one following at the command prompt of your computer, observe and record the output / output generated from those commands.

1. Basic commands
   man
man ls
pwd
ls
mv
cd
clear
cp
rm
mkdir
chmod
mv file1 file2
more file
head file
tail file            
tail -f file
find
su
cat nm_file

2. Networking Tools :
Ifconfig
ifconfig eth0 192.168.1.1 netmask 255.255.255.0
ping
netstat
Nslookup


Setting up/down networking :
sudo ifconfig eth0 up
sudo ifconfig eth0 down

User dan Proses
adduser nm_user
passwd pswd_user
who
wall
Halt
Kill
shutdown –r now

To add a user, use this format: new user: kk, password: security

After you do the experiment, make a report about your results and give an explanation of the function of each command on the command line.

0 comments:

Post a Comment

Blogroll

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Sweet Tomatoes Printable Coupons