Sabtu, 25 April 2009
linux 6
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
At the command Basic Operating System Linux (Fedora Core)
Linux is the operating system that has many opensource version (distribution). In the
this article refer to the Fedora Core distribution. In general distros have
the same just have a few differences on some other distro. This
to note is that the commands, file names and directories on Linux
a Case-Sensitiv (with capital letters to distinguish a small letter).
Basic structure of Linux commands
Linux basic command structure is as follows:
Command [option] [arguments]
Description:
ƒ The command is the command used to perform a certain action.
ƒ options, to change or add the default action of the
ƒ arguments, states that the object will be processed by the command, in the form of a file or
directory
Square brackets mean that the part is optional.
Administrative Users
This command to create / delete user and password and delete
user.
# Adduser username to create a user
# Username user password gives
# Userdel username remove user
# Userdel-r username delete the user name and its home directory
# Passwd-d username password user manghapus
# / $ User logout logout
# / $ Ctrl + d user logout
Login information:
[root @ xabudy root] #
Active Directory
Name of computer
User name
The sign # means login as root, $ sign means login as a regular user.
Moved Mode
Moving from text to graphics mode
Ctrl + Alt + F1 to switch konsole1
Ctrl + Alt + F2 to move konsole2
Ctrl + Alt + F3 to move konsole3
Ctrl + Alt + F4 to move konsole4
Ctrl + Alt + F5 to move konsole5
Ctrl + Alt + F6 to move konsole6
Moving from text to text
Alt + F1
Alt + F6
Moving from text to graphics
Alt + F7, if the active directly in the text mode how to enable the graphical startx.
Administration Directory and File
Moving Directory
# / $ Cd namadirektori move to the directory name that dituju from the parent directory
# / $ Cd [path] move directly to that directory dituju
# / $ Cd / move to the directory /
# / $ Cd .. move to parent directory
# / $ Cd move to the root directory
View the contents of directories
# / $ Ls displays the contents of the directory briefly
# / $ Ls-a
# / $ Ls-l displays the contents of the directory complete with file information
# / $ Ll same with ls-l
# / $ Ll | more display directory content per layer / pages
See the structure of the active directory
# / $ Pwd display directory path from the active
Create a directory
# / $ Mkdir namadirektori
# / $ Mkdir namadirektori namadirektori . directory make many direct
Copying files
# / $ Cp filename / direktori_tujuan
File transfer
# / $ Mv filename / direktori_tujuan
Rename the file or directory
# / $ Mv nama_lama nama_baru
Removing a directory
# / $ Rmdir namadirektori remove empty directory
# / $ Rmdir-r namadirektori delete the directory and its contents
Create and edit files
ƒ touch without making the file contents
# / $ Touch filename
ƒ create cat file
# / $ Cat filename
... Type
Ctrl + d to save
ƒ vi create and edit
# / $ Vi filename
Press the button to insert a document begin, ESC key to exit
To save, ESC after typing ": WQ"
ƒ mcedit create and edit
# / $ Filename mcedit
Press F2 to save
Press F10 to exit
Reading device (FDD, hdd, cdd)
Read the floppy disk
# / $ Mount / dev/fd0 / mnt / floppy
Structure of the command above: [command] [enabled device] [directory MOUNTPOINT]
Or can with the following command
# / $ Mount / mnt / floppy
# / $ Mount / media / floppy
Stop reading
# / $ Umount / mnt / floppy
# / $ Umount / media / floppy
Reading CDROM / DVDROM
Reading device is basically automatic, if not use the following command
# / $ Mount / mnt / cdrom
# / $ Mount / media / cdrom
Reading Harddisk
Through the following three stages
Create a directory mount point (missal: / mnt / drive_c)
Find a position with the hard drive
# / $ Fdisk-l
Make a reading with the
# / $ Mount / dev/hda1 / mnt / drive_c
See the manual / help command a
# / $ Namaperintah man
# / $ Man | more namaperintah manual display per page
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar