Kamis, 15 Mei 2014

PERINTAH-PERINTAH PADA LINUX









Tugas Debian 1
      1.       wawantkj@debianTKJ:~$ history
a.       Console
b.      Halk
c.       Ping google.com
d.      Ping google.com
e.       History
         2.      wawantkj@debianTKJ:~$ Is
            Destop Dokument Gambar Musik Publik Template Unduhan Video
        3.      wawantkj@debianTKJ:~$ Is-a
.                       .Evolution                   .ICEauthistory                        .remmina
..                      Gambar                       .Icon                            .Sudoku
.Bash_history  .gconf                          .local                            template
.bash_logout    .gconfd                        .missim-control            .themes
.bashrc             .gksu.lock                    .musik                          .thumbnails
.config             .gnome2                      .nautilus                       unduhan
.dbus               .gnupg                         .openoffice.org            .update-notifier
Destop             .gstreamer-0-10           .profile                         vidio
.dmrc               .gtk-bookmark             publik                          .senssion-error
Dokument       .gvfs                            recently-used_xbel      .xsession-error-old

       4.      wawantkj@debianTKJ:~$ clear
      5.      wawantkj@debianTKJ:~$ du
          8 ./. missron – control / accounts
          12 ./. mission – control
           4 ./. vidio
           4 ./. update – notifier
           8 ./. thumbnails / fail / gnome – thumbnail – factory
           12 ./. thumbnails / fail
           464 ./. thumbnails / normal
           480 ./. thumbnails
           68 ./. gconfd
           4 ./. thumbnails
           68 ./. gconfd
           4 ./. local / share / vino
          76 ./. local / share / gvfs – metadata
           48 ./. local / share / webkit / icondatabase
           52 ./. local / share / webkit
           136 ./. local / share
           140 ./. local
           4 ./. config / gnome – session / saved – senssion
           8 ./. config / gnome – senssion
           8 ./. config / gtk-2-0
           4 ./. config / gnome – disk – utility / ata – smart – ignore
           8 ./. config / gnome – disk – utility
           8 ./. config / autostart
           52 ./. config
           4 ./. musik
           660 ./. gstreamet-0-10
           8 ./. sudoku / saved
           4 ./. sudoku / finised
           16 ./. sudoku
           8 ./. gconf / apps / gnome – sudoku
           8 ./. gconf / apps / panel / applets / windows_menu_screeno
           8 ./. gconf / apps / panel / applets / mixxer_screeno
           8 ./. gconf / apps / panel / applets / show_destop_button_screeno
           8 ./. gconf / apps / panel / applets / clock_screeno / prefs
           16 ./. gconf / apps / panel / applets / clock_screeno
           8 ./. gconf / apps / panel / applets / notification_area_screeno
           8 ./. gconf / apps / panel / applets / workspace_switcher_screeno / prefs
           16 ./. gconf / apps / panel / applets / workspace_switcher_screeno
           8 ./. gconf / apps / panel / applets / windows_list_screeno / prefs
           16 ./. gconf / apps / panel / applets / windows_list_screeno
           84 ./. gconf /apps / panel / applest
          8 ./. gconf /apps / panel / object / browser_launcher_screeno
          8 ./. gconf /apps / panel / object / email_launcher_screeno
          8 ./. gconf /apps / panel / object / menu_bar_screeno
          28 ./. gconf /apps / panel / objects
          8 ./. gconf / apps / panel / tuplevel / bottom_panel_screeno / background
          16 ./. gconf / apps / panel / tuplevel / bottom_panel_screeno
          8 ./. gconf / apps / panel / tuplevel / bottom_panel_screeno / background
         16 ./. gconf / apps / panel / tuplevel / top_panel_screeno
         36 ./. gconf / apps / panel / tuplevels
         8 ./. gconf / apps / panel / general
         160 ./. gconf / apps / panel
         8 ./. gconf / apps / empathy / accounts
         8 ./. gconf / apps / empathy / ui
         28 ./. gconf / apps / empathy
         8 ./. gconf / apps / gksu
         8 ./. gconf / apps / glchess
         8 ./. gconf / apps / metacity / general
         12 ./. ./. gconf / apps / metacity
         8 ./. gconf / apps / gok / access_method_setting / inversesconning
         8 ./. gconf / apps / gok / access_method_setting / automaticsaning
         8 ./. gconf / apps / gok / access_method_setting / duellselection
         8 ./. gconf / apps / gok / access_method_setting / directselection
         8 ./. gconf / apps / gok / access_method_setting / keyautoscanning
         8 ./. gconf / apps / gok / access_method_setting / directed
         8 ./. gconf / apps / gok / access_method_setting / keyinversesscaning
         64 ./. gconf / apps / gok / access_method_setting
         8 ./. gconf / apps / gok / actions
         8 ./. gconf / apps / gok / feedbacks
         8 ./. gconf / apps / gok / logout
         92 ./. gconf / apps / gok
         8 ./. gconf / apps / nautilus / preferences
         8 ./. gconf / apps / nautilus / destop_metadata / home
         8 ./. gconf / apps / nautilus / destop_metadata / computer
         8 ./. gconf / apps / nautilus / destop_metadata / directory
         8 ./. gconf / apps / nautilus / destop_metadata / trash
         36 ./. gconf / apps / nautilus / destop_metadata
         48 ./. gconf / apps / nautilus
         8 ./. gconf / apps / evalution / calender / notify
         16 ./. gconf / apps / evalution / calender
         8 ./. gconf / apps / evalution / addressbook / self
         12 ./. gconf / apps / evalution / addressbook
         32 ./. gconf / apps / evalution / addressbook
         8 ./. gconf / apps / gnome / terminal / profiles / default
         12 ./. gconf / apps / gnome / terminal / profiles
         16 ./. gconf / apps / gnome / terminal
         8 ./. gconf / apps / nm-applet
         424 ./. gconf / apps

     6.      wawantkj@debianTKJ:~$ du-s
   4144
     7.      wawantkj@debianTKJ:~$ cal
Mei 2014
Mi        Se        Se        Ra        Ka       Ju         Sa
                                                1          2          3
4          5          6          7          8          9          10
11        12        13        14        15        16        17
18        19        20        21        22        23        24
25        26        27        28        29        30        31
    8.     wawantkj@debianTKJ:~$ uname – sr
Linux 2.6.32-5-686
    9.     wawantkj@debianTKJ:~$ uname – a
Linux debianbintang 2.6.32.5-686 #1 SMP we’d jan 12 04:01:41
UTC 2011 i686 GNU/LINUX
    10.  wawantkj@debianTKJ:~$ alias
Alias ls = ‘ls – color = auto’
    11.  wawantkj@debianTKJ:~$ display
       Browser and select a file           
Directory : / home / galauuuu saebian /
UP         destop /
HOME   document /
               Download /
               Music /
               Picture /
               Publik /
               Templates /
               Vidios /
    File name :

   
Grab
Open
Cane

    12.  wawantkj@debianTKJ:~$ ls-a
Bash : ls-a : perintah tidak di temukan
    13.  wawantkj@debianTKJ:~$ la-a
Bash : la-a : perintah tidaka ditemukan
    14.   wawantkj@debianTKJ:~$ Is-f
Destop / Dokument / Gambar / Musik / Publik / Template / Unduhan / Vidio /
    15.  wawantkj@debianTKJ:~$ Ls – f
Vidio                           musik                           publik
.update-notifier           .gstreamer-0-10           .templat
..                                  .xsession-error-old       .profile
.gconfd                        .gconf                          .ICEauthority
.gtk-bookmerty           .bash-history                .gvfs
.cache                          .                                   .gnupg
.bashre                         .nautilus                       .recenly-used-xbel
.config                         .gnome2                      .destop
    16.  wawantkj@debianTKJ:~$ ls-1
Total 32
Drwxr –xr-x2 one one 4096 mei 6 08:40 desktop
Drwxr –xr-x2 one one 4096 mei 6 08:40 dokument
Drwxr –xr-x2 one one 4096 mei 6 08:40 gambar
Drwxr –xr-x2 one one 4096 mei 6 08:40 musik
Drwxr –xr-x2 one one 4096 mei 6 08:40 publik
Drwxr –xr-x2 one one 4096 mei 6 08:40 template
Drwxr –xr-x2 one one 4096 mei 6 08:40 unduhan
Drwxr –xr-x2 one one 4096 mei 6 08:40 video

    17.  wawantkj@debianTKJ:~$ ls –a
total 120
drwxr –xr –x 21 one one 4096 mei 6 09:42 .
drwxr –xr –x 4 root root 4096 mei 6 08:38 ..
-rw ……        1 one one 108 mei 6 09:03.bash_history
-rw –r –r -      1 one one 120 mei 6 08:38 .bash_logout
-rw –r –r -      1 one one 3184 mei 6 08:38.bashre
Drwxr –xr –x 2 one one 4096 mei 6 08:41 .chache
Drwxr –xr –x 4 one one 4096 mei 6 08:40 .config
Drwx               3 one one 4096 mei 6 08:40 .dbus
Drwxr –xr –x 2 one one 4096 mei 6 08:40 desktop
Drwxr –xr –x 2 one one 4096 mei 6 08:40 dokument
Drwxr –xr –x 2 one one 4096 mei 6 08:40 gambar
Drwx                4 one one 4096 mei 6 09:42 .gconf
Drwx                2 one one 4096 mei 6 09:43 .gconfd
Drwx                5 one one 4096 mei 6 08:40 .gnome2
Drwx                2 one one 4096 mei 6 08:40 .gnupg
Drwxr –xr -x   2 one one 4096 mei 6 08:40 .gstremed
-rw -x –r          1 one one 120 mei 6 09:42 .gtk-bookmarks
Drwx               2 one one 4096 mei 6 08:40 –gvfs
-rw                   1 one one 660 mei 6 09:42 –ICE aution
Drwxr –xr –x  2 one one 4096 mei 6 08:40 musik
Drwxr –xr –x  2 one one 4096 mei 6 08:40 nautilus
-rw –r –r --       1 one one 675 mei 6 08:38 profile
Drwxr –xr –x 2 one one 4096 mei 6 08:40 publik
-rw                   1 one one 218 mei 6 09:03 recenttly-used xbd
Drwxr –xr –x 2 one one 4096 mei 6 08:40 templat
Drwxr –xr –x 2 one one 4096 mei 6 08:40 unduhan
Drwx               2 one one 4096 mei 6 08:40 –update notifer
Drwxr –xr –x 2 one one 4096 mei 6 08:40 video
-rw                   1 one one 803 mei 6 09:42 xsension –error
-rw                   1 one one 2539 mei 6 09:03 xsension –error –old

     18.  ls –R
.:
Desktop  Dokument  Gambar  Musik  Publik  Template  Unduhan Video
./Desktop:
./Dokement:
./Gambar:
./Musik:
./Publik:
./Template:
./Unduhan:
./Video




TUGAS 2 Debian


Tugas ke-2 fungsi dari perintah
1. Cp       : Berfungsi untuk mengcopy atau menduplikat dan direktori.
                  Dengan format: cp nama_file_asal nama_file_hasil
2. Touch  : Perintah untuk mengganti waktu pembuatan suatu file. Tetapi bila file yang anda
                   ketikkan belum ada maka secara otomatis file tersebut akan dibuat.
3. Mkdir  : Perintah untuk membuat direktori.
             Dengan Langkah2 sebagai berikut:
              a. Pastikan direktori aktif anda saat ini di /home , di komputer saya saya berada di               /home/wawantkj. Dan anda saat ini belum mempunyai direktori yang bernama                   dataku.
                   Buat direktori dengan nama dataku , ketikkan wawantkj@debianTKJ:~$ mkdir                    dataku untuk melihat hasilnya lihat dengan perintah ls sekarang anda sudah                           memiliki direktori baru dengan nama dataku.

4. Rmdir  : Perintah untuk menghapus direktori kosong.
            5. Rm       : Untuk menghapus (remove) file atau direktori.
             Format : wawantkj@debianTKJ:~$ rm nama_file
             6. Mv       : Perintah untuk memindahkan file dan direktori. Perintah ini juga bisa digunakan                                untuk merename (mengganti) nama file atau direktori.
              Format : mv nama_file nama_file_baru
                             mv nama_file direktori_tujuan

7. Pwd     : Pwd (Print Working Direktory)
                        Menampilkan direktori yang sedang aktif (curent directory).
Perintah ini   tidak mempunyai option dan argumen.
            8. Hostname : Perintah untuk menampilkan nama dari komputer (hostname)