Search Engine

Tuesday, October 21, 2008

Take orders linux's Basic


LINUX'S BASE INSTRUCTION


if has came in to go to this page your matter have success install linux....
for the first time perhaps we shall make ready user new before, besides root, since what, our kalo new first time holds new material usually we ever be left experimen right, and it dangerously what again you again log in as root, let its safe main as user of so-sos for that we shall get things square user logs in any other besides root. we take for example user andi its trick as it:, since one can get things square / makes only root therefore you shall log in before as root

Previously to be known that deep unix, instruction or command is case sensitiv, one that matter shall at uppercase purpose looking at and its little.

booting linux temen temen disuguhi's first time felicitates to come and end on text prompt as it:

Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in:
on prompt this inserts root's name, and password it you still to remind first time installation time.
Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in:root
afterwards steps to go to password
Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in:root
Password: ******* fill in passwordnya
if you find prompt as it:
Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in:root
Password: *******
last logs in: mon jun 7 16:53:21 on tty1
[root@localhost /root] #
udah's matter is successful logs in one for root
on sign # it denotes you log in as root and plenipotentiary to system, for the moment you have ready to add new user by order of adduser,as beikut; e.g. name it arief
[root@localhost /roo] # adduser arief
afterwards adds password for arief by order of passwd
[root@localhost /root] # passwd arief
afterwards will emerge writing as following as to fill password and password's confirmation
root@localhost root # passwd arief New Unix Password: ******* , fill in password in here
Retype new unix password: ********, this fills in to equal that above
then kalo emerges:
passwd: all authentification tokens updated succesfully
udeh's matter success makes user and password new for user arief
now issue from root by sets down logout or Ctrl d. (ctrl key press then d.)
[root@localhost /root] # logout
note: machines deadening trick linux shall be done by logs in root, do command it to switch off linux
[root@localhost /root] # shutdown h now
this is trick most safe to turn the computer off over linux, parameter h is deadening linux's program or shutdown in windows 2000 terminology
[root@localhost /root] # shutdown r now is parameter to restart computer
we drawn out, and appearance will as this hereunder as as that above:
Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in: arief
Password: *******, fill in passwordnya andi
you will step to go to:
Redhat Linux release 6.0 (hedwig)
Kernel 2.2.5 15 on an i586
localhost logs in: arief
Password: *******
last logs in: mon jun 7 16:53:21 on tty1
[arief @localhost arief] $
You safe have successful uses new user. and you can begin studying safely and bash prompt see you are changed as sign $. that its meaning logs in as user ordinary.
Now we study To Command basic that often been utilized by user:


SEVERALLY COMMANDS BASIC
- ls (list) are command to see file or direktory even, there are several option at in it and can see pake
man's instruction
example:
[arief @localhost arief] $ ls la
this is see all aught file content in direktory arief
want to know form more tries to carry on manual instruction for ls by:
[arief @localhost arief] $ man ls
- cp (copy) are command for mencopy / double file available many option at in it and that dilihatdengan can
man's instruction
example:
[arief @localhost arief] $ cp namafile (new file name)
this is see mencopy namafile's file and to be made namafilebaru aught in direktory arief
want to know form more tries to carry on manual instruction for cp by:
[arief @localhost arief] $ man cp
- rm (remove) are command to erase file, there is beberpa option at in it and can see pake instruction
man
example:
[arief @localhost arief] $ rm namafile
this is see to erase one file whatever available in direktory arief, and named namafile
want to know form more tries to carry on manual instruction for rm by:
[arief @localhost arief] $ man rm
- mv (move) are command to move file from long time place goes to place a new one,there is beberpa option
at in it can see pake man's instruction
example:
[arief @localhost arief] $ mv / home / arief / direktory001 / namafile / home / andi / direktor002 / namafile
this is memindahakan namafile at direktory / home / arief / direktory001 / goes to directory
/home / arief / direktor002 /
want to know form more tries to carry on manual instruction for mv by:
[arief @localhost arief] $ man mv
- pwd (parrent working directory) are command to erase sees directory where we lie currently
there is beberpa option at in it and can see pake man's instruction
example:
[arief @localhost arief] $ rm namafile
this is see to erase one file whatever available in direktory arief, and named namafile
want to know form more tries to carry on manual instruction for pwd by:
[arief @localhost arief] $ man pwd
- CD (change directory) are command for devolves directory where we lie currently go to place
or directory new, there are several option at in it and can be seen by order of man
example:
[arief @localhost arief] $ CD / mnt or CD / usr / doc
this is moving into direktory / mnt and devolves into direktory / usr / doc
want to know form more tries to carry on manual instruction for cd by:
[arief @localhost arief] $ man is CD
- mkdir (make directory) are command to make directory
there are several option at in it and can see pake man's instruction
example:
[arief @localhost arief] $ mkdir / home / arief / studies
this is make new direktory one is placed at direktory / home / arief / and by the name of studying
want to know form more tries to carry on manual instruction for mkdir by:
[arief @localhost arief] $ man mkdir
- rmdir (remove directory) are command to erase directory
there are several option at in it and can see pake man's instruction
example:
[arief @localhost arief] $ rmdir / home / arief / studies
this is erase direktory those are on direktory / home / arief / by the name of studying
want to know form more tries to carry on manual instruction for rmdir by:
[arief @localhost arief] $ man rmdir
- paint is command to see content more from file something (as type's instruction in PACK)
there are several option at in it and can see pake man's instruction
example:
[arief @localhost arief] $ namafile's paint
want to know form more tries to carry on manual instruction for mkdir by:
[arief @localhost arief] $ man paints
- man (manual) are command to see manual from a command (seperty commands help /? in PACK)
example:
[arief@localhost andi] $ man mkdir
- top is subject to be see process that be happens deep computer and will feature PID'S number from
each process that be walks
PID = Process ID
- kill kills / switch off process that be happens deep system
example:
[arief @localhost arief] $ kill 1332 (where is number 1332 is PID'S numbers from one processes)
can see PID'S number passes to command top
want to know form more tries to carry on manual instruction for kill by:
[arief @localhost arief] $ man kill
- killall kills / switch off all process that be happens deep system
example:
[arief @localhost arief] $ killall

such a degree tutorial from me,, you comment appeal in posting this

Linux's history

Linux's history

Linux initially being made by a Finlandia's college student that named Linus Torvalds. Formerly Linux constitutes
hobby project that diinspirasikan from Minix, which is system UNIX little that developed by Andrew Tanenbaum.
Linux is version 0.01 worked by august vicinity 1991. Then on the fifteenth 5th October 1991, Linus
announcing Linux's authorized version, which is version 0.02 one just gets to carry on shell bash (GNU Bourne Again
Shell) and gcc (GNU c Compiler).
Now Linux is UNIX'S system that so fledged, can be utilized for network, software development
and even for chore. Linux presenting to constitute operating system alternative that by a long shot
a bargain in comparison with operating system komersial (e.g. Windows 2000 9.x / NT / 2000 / I). Linux has
meteoric developing. It can be enabled since Linux developed by group medley
person. This diversity included gnostic zoom, experience and geographical. That this group gets to get communication
with expeditious, internet becomes felicitous option.
Since Linux's kernel is developed with effort that independent, there are many application which is of service, for example,
C Compiler utilizes gcc from Free Foundation GNU's Software ’ s Project. This compiler a lot of is utilized
on Hewlett Packard's environment and Sun.
Currently, there are many application applicable Linux for office need as for spreadsheet,
word processor, database and graphics editor program that have function and appearance as Office's Microsoft, which is
Star Office. Besides, have also available Corel's version to Linux and application as Matlab that on Linux
known as Scilab.
Linux can be gotten in various distribution (often been called distro). distro is bind from Linux's kernel,
system therewith linux's basic, installation program, tools basic, and useful other programs according to
to the effect makings distro. There is myriad distro Linux, amongst those:
?? RedHat, the most popular distribution, minimal at Indonesia. RedHat constitutes first one distribution
installation and its operation is easily.
?? Debian, distribution that accentuate stability and to mainstay, even sacrify amenity aspect
and kemutakhiran programs. Debian utilizes .deb deep program installation package it.
?? Slackware, constituting distribution that evers been merajai at universalizes Linux. Nearly all documentation Linux
arranged bases Slackware. Two highlights from Slackware is that all its content (kernel, library
or application even it) are already be tested. So maybe oldish but one must stable. Secondly
since she advises for menginstall from source so each program which we install teroptimasi
with our system. This reason its nots she wants to utilize binary RPM and until Slackware 4.0, it
regular utilizes libc5 is not glibc glibc as the other.
?? SuSE, far-famed distribution with YaST (Yet another setup Tools) to mengkonfigurasi system.
SuSE constitutes first distribution where its installation can utilize indonesian.
?? Mandrake, constituting distro RedHat's variant that dioptimasi to pentium. If our computer utilizes
pentium onto, generally Linux can faster road with Mandrake.
?? WinLinux, distro who is designed for diinstall up the stairs partisi PACK (Windows 2000). So to carry on it
can at click from Windows 2000. WinLinux is made one will constitute an under's application programs Windows 2000s.
And is still a lot of distro distro another already is of service and also that will emerge.

Tutorial I/O and Linux's Basic instruction

Tutorial I/O and Linux's Basic instruction

redirection's recognition and pipe
Redirection and pipe constitutes default from shell's facility at unix.

Redirection
redirection's facility enables we for can keep output from one process to be kept to other file
(Output Redirection) or contrariwise utilize content from file as input in a process (redirection's input).
Components from redirection is<, >, < <, > >
To its clearer will at gives example for each one redirection:

Output Redirection
We will utilize paint instruction already are of service default's ala at shell linux.
Syntaxnya as follows:
$ paint>
Example:
Making File by the name of test
arief@noize:~$ paint> test
this just one test from output redirection
hehehehehe........
^D
Seeing test file content
arief@noize:~$ test paint
this just one test from output redirection
hehehehehe........
arief@noize:~$
Increase for test file
arief@noize:~$ paint> > test
this the line affix from long time one...
^D
Seeing files loading back afters test be added some word
antoro@drutz:~$ test paint
this just one test from output redirection
hehehehehe........
this the line affix from long time one...
arief@noize:~$
Herein we see that output from paint instruction will at arches (redirect) to one file by the name of test.
1.1.2. Redirection's input
Content from a file we will utilize as input from a process who we will carry on. For example we will
try to send mail goes to self sendiridengan fills indigenous mail previous test file
arief@noize:~$ mail arief@noize< >Pipeline
Pipeline( | ) are facility at shell UNIX that functioning to give input from a process from output processes
another one. Let say for example:
Before we utilize pipeline
arief@noize:~$ find *
dead. letter
mbox
test
After we utilize pipeline
arief@noize:~$ find * | grep tests
test
arief@noize:~$
On pipeline's example upon, having that mean output from find's instruction becomes input from grep's instruction that
then just takes word "test" from output find.

Shell (bash command)
Shell is one program which read default input which is keyboard. While is we mengetikkan something at keyboard
therefore shell will paraphrase what does we ketikkan. For example if we ketikkan ls on shell and
ls apparently constitute program who can at eksekusi therefore shell will carry on that program.
For example:
arief@noize:~$ ls
test
arief@noize:~$ hello
bash: hello: command not found
arief@noize:~$
We can see that while our ls ketikkan therefore program ls is carried on, meanwhile if we carry on
hello and because really no program hello therefore shell that mengeksekusinya can't.
4.2. 1 shell's types
shell's type that is utilized at unix and also linux widely varied, but to be seen from user amount facet its shell
one that a lot of is used is as follows:
?? Bourne shell (sh)
?? C shell (csh)
?? Korn shell (ksh)
?? Bourne Again shell (bash)
All the much at utilizes is bash, where does this bash constitute development from sh and ksh. Majority
linux's distribution now utilizes bash as default shellnya.
4.2. 2 Take Orders basics in Linux

paint
Command this paint feature content from a file goes to standart output (stdout)
Syntax:
$ paint
Example:
arief@noize:~$ test paint
this just one test from output redirection
hehehehehe........
this the line affix from long time one...
paint can also be utilized to insert one content from a file into the other file.
Syntax:
$ file1's paint file3> file4
clear
This clear's instruction kindred with cls on its PACK utilised clears display
Syntax:
$ clear
cp
Alike with copy on PACK, this cp's instruction functions mengkopi file.
Syntax:
$ cp [option] file / dir / path /
To clearer pleases to be read by its option by carry on:
$ cp--help

cut
cut's instruction defines a meaty file data bases column
Syntax:
$ cut [option] file
Example: we that cut will test file from column 1 7
arief@noize:~$ cut c 1 7 tests
this han
heheheh
the line i.
antoro@drutz:~$ test paint
this just one test from output redirection
hehehehehe........
this the line affix from long time one...
arief@noize:~$
From example gets to appear that cut just feature content from test file from column 1 7

find
From its name can be guessed that this instruction functioning to look for file or directori even.
Syntax:
$ find / path [option]
Example:
arief@noize:~$ find. -name te*
./test
arief@noize:~$
grep
This instruction is beneficent for data search in file, purpose grep will more mengefisienkan time to weigh
shall read by piece
Syntax:
$ grep [option] "data" file
Example:
arief@noize:~$ grep "this" test
this just one test from output redirection
this the line affix from long time one...

ln
Utility commands this is subject to be make link from one file / directori goes to file / directori any other
Syntax:
$ ln s / path / to / source target
Example:
arief@noize:~$ ln s test tests
arief@noize:~$ ls l
full scale 2
-rw r--r-- 1 arief@noize 102 Nov 9 14:11 tests
lrwxrwxrwx 1 arief@noize Nov 4 10 03:21 quizs -> test
arief@noize:~$
From example gets to be seen that file tests is constitute link from test file
locate
This instruction is utilized to know where its position one file or directori. Its function is thereabouts with
with find, locate's difference utilizes one database (usually lies at / var / lib / locatedb) one that
can at update utilizes to command updatedb.
Syntax:
$ locate
Example:
arief@noize:~$ locate tests
/home / arief / tests
arief@noize:~$

ls
This instruction as as at r on yanitu's PACK functions to feature content from a directory atributatribut therewith
its file.
Syntax:
$ ls [option] /directory
Example:
arief@noize:~$ ls / home / arief
test tests
arief@noize:~$

mkdir
mkdir ekivalen's instruction with md (make directory) on beneficent PACK to make one directory.
Syntax:
$ mkdir

mv
This instruction is kindred by order of move on beneficent PACK to move file from one directory goes to
another directory, or can also be utilized as substitution of file name (ren / rename on PACK)
Syntax:
$ mv file1 is files
rm and rmdir
Instruction rm is command to erase file. To directory can utilize rmdir
Syntax:
$ rm
$ rmdir

tail
This instruction contrary by order of cut, tail defines one data on rows terminological file it. Little bit
the difference is on tail default's ala is featured 10 rows most a stop to file contents
Syntax:
$ tail [option]
Example:
arief@noize:~$ tail is test
this just one test from output redirection
hehehehehe........
this the line affix from long time one...
arief@noize:~$
If we want to feature just 2 last rows utilize option[- [nilai] For example:
arief@noize:~$ tail 2 tests
hehehehehe........
this the line affix from long time one...
arief@noize:~$

mount
Each device in linux to be able to being accessed beforehand have at mount or to be concerned.
Syntax:
$ mount [option] /dev / / path / to / mountdir
Example:
$ mount / dev / hda1 / mnt / is disc

ps
This instruction is utilized to see each process which is carried on in therewith number machine its process.
Syntax:
$ ps [option]

kill
kill's instruction (turned out) by name it is functioning to send signal goes to a process. So
can command if a process is delayed, discontinued or to be drawned out. But right usually been utilized for
turned out process which be walks.
Syntax:
$ kill
adduser, passwd and userdel
adduser's instruction and userdel is files for user's administration. adduser is utilized to add
user at one particular machine. Then afters adds to be determined password user a new one that by order of
passwd. Meanwhile userdel is utilized to erase user at machine. To carry on takes orders it
necessary root priviledge.
Syntax:
# adduser
# passwd
# userdel[-r]

Such a degree Turial from me, hopefully utilitarian for you all.. linux goes forward to go on barefisted..