Kamis, 15 Mei 2014

DEBIAN



TUAS PERTAMA
adhit@debianadhit: ~$ history
            1 history
adhit@debianadhit: ~$ Is
Bash : is : perintah tidak ditemukan
adhit@debianadhit: ~$ is –a
Bash : is : perintah tidak ditemukan
adhit@debianadhit: ~$ du
148 % local / share / guft – meta data
24   %  local / share / webkit / icon database
28   % local / share / webkit
180 % local / share
184 % local
4      % documen
8      % evalution / task / local / system
12    % evalution / task / local
10    % evalution / memos
8      % evalution / calender / local / system
12    % evalution / calender / local
16    % evalution / calender
11    % evalution / cache
76    % evalution / mail / local
8      % evalution / mail / config
88    % evalution / mail
148  % evalution
8       % gconf / apps / nautilus / dekstop -  metada / home
8       % gconf / apps / nautilus / dekstop -  metada / computer
8       % gconf / apps / nautilus / dekstop -  metada / direcktory
36     % gconf / apps / nautilus / dekstop -  metada
8       % gconf / apps / nautilus / preferences
48     % gconf / apps / nautilus
8       % gconf / apps / glchees / new – game – dialog / white
8       %  gconf / apps / glchees / new – game – dialog / black
24     % gconf / apps / glchees / new – game – dialog
32     % gconf / apps / glchees
8       % gconf / apps / gtalc
8       % gconf / apps / nm - applet
8       % gconf / apps / applets / windows – menu - screeno
8       % gconf / apps / applets / notification – area – screeno
8       % gconf / apps / applets / workspace – switche – screeno / prefs
16     % gconf / apps / applets – workspace – switche – screeno
84     % gconf / apps / applets
8       % gconf / apps / panel / general
8       % gconf / apps / panel / objeck / email – launches screeno 
8       % gconf / apps / panel / objeck / browser – launches – screeno
28     % gconf / apps / panel / objeck
20     % gconf / apps / gnobots
8       % gconf / apps / evalution / shell
8       % gconf / apps / evalution / tasks
16     % gconf / apps / evalution / calender / tasks
8       % gconf / apps / evalution / calender / date - navigator
8       % gconf / apps / evalution / calender / notify
8       % gconf / apps / evalution / calender / display
8       % gconf / apps / evalution / calender / promti
56     % gconf / apps / evalution / calender
64     % gconf / apps / evalution / mail
8       % gconf / apps / evalution / addressbook / completion
16     % gconf / apps / evalution / addressbook
8       % gconf / apps / iagno
12     % gconf / dekstop / gnome
148   % gnome – gnome
4        % publik
adhit@debianadhit: ~$ du -s
1940
adhit@debianadhit: ~$ cal




Mei 2014
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu




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

adhit@debianadhit: ~$ cal 2004
JANUARI
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu




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
           
FEBRUARI
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu
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








            MARET
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu




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

APRIL
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu




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
           





MEI
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu






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






JUNI
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu


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





            JULI
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu




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

            AGUSTUS
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu
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





            SEPTEMBER
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu



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





            OKTOBER
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu





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







NOVEMBER
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu
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






DESEMBER
Minggu
Senin
Selasa
Rabu
Kamis
Jum’at
Sabtu



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


adhit@debianadhit: ~$ line name sr
Uname : extra operand SR’
Try usane – help for more information
adhit@debianadhit : ~$ uname –a
Linux debian 2.6.32.5.686 #1 SMP wed jan 12 : 04 : 41 UTC 2011 1686 GNU / linux
adhit@debianadhit: ~$ alias
Alias Ls = ‘Ls =..color = auto




TUGAS KEDUA
            adhit@debianadhit: ~$ ls –a
.                               .dbus                       .gconfd                    .ICEauthority           .recently-used.xbel
..                              .destop                     .glome2                   .local                        .template
.bash_history           .dmrc                       .gnupg                     musik                     unduhan
.bash_logout            .documen                 .gestreamer-0.10      .nautilus                   .update-notifies
.bashrc                     .gambar                   .gtk-bookmarks       .profile                     video
.config                     .gconf                      .gfvs                        publik                     .xsession-errors
adhit@debianadhit: ~$ ls –f
 Publik                    dekstop                                     templat                    .
 Musik                     .config                                     gambar                                    .gstreamer -0.10
 Dokumen               .xsession-errors                       .gnupg                                     video
.dbus                       .bash_history                           .gconf                                      .
.bashrc                     .nautilus                                   .dmrc                                       .gnome 2
.profil                      .bash logout                             .gufs                                        .ICEauthority
 Unduhan                                .recently-used.xbel                  .update-notifier                        .
.local                        .gtk-bookmarsk                       .gconfd                                    .
adhit@debianadhit : ~$ ls –F
Destop / dokumen / gambar / musik / publik / templat / unduhan / video
adhit@debianadhit : ~$ ls –I
Is  : pilihan membutuhkan sebuah argumen .. “I”
Coba ‘ ls – helpn’ untuk informasi lebih lanjut –
adhit@debianadhit : ~$ ls –i
98732  Destop             98738  Gambar           98735  Publik              98733  Unduhan
98736  Dokumen        98737  Musik              98734  Templat           98739  Video
adhit@debianadhit : ~$ ls –l
Total 32
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Destop
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Dokumen 
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Gambar
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Musik
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Publik
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Templat
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Unduhan
Drwxr – xr - x 2 adhit adhit 4096 Mei 10 11 : 22 Video


adhit@debianadhit : ~$ ls –R
. :
Destop  dokumen  gambar  musik  publik  templat  unduhan  video
./ Destop          :
./ Dokumen     :
./ Gambar        :
./ Musik           :
./ Publik           :
./ Templat        :
./ Unduhan      :
./ Video           :
adhit@debianadhit : ~$ ls –la
Total 120
Drwxr – xr – x 21       adhit    adhit    4096    Mei      10        13 :32  .
Drwxr – xr – x 3         root      root      4096    Mei      10        11 :19   ..
-rw-------          1          adhit    adhit    25        Mei      10        13 :34  .bash_history
-rw –r—r--       1          adhit    adhit    220      Mei      10        11 :19  .bash_lagout
-rw –r--r--        1          adhit    adhit    3184    Mei      10        11 :19  .bashrc
Drwxr –xr -x   5          adhit    adhit    4096    Mei      10        11 :30  .config
Drwx -------     3          adhit    adhit    4096    Mei      10        11 :22  dbus
Drwxr –xr -x   2          adhit    adhit    4096    Mei      10        11 :22  Destop
- rw –r—r --     1          adhit    adhit    41        Mei      10        11 :22  .dmrc
Drwxr –xr -x   2          adhit    adhit    4096    Mei      10        11 :22  Dokumen
Drwxr –xr -x   2          adhit    adhit    4096    Mei      10        11 :22  Gambar
Drwx -------     4          adhit    adhit    4096    Mei      10        11 :22  gconf
Drwx -------     2          adhit    adhit    4096    Mei      10        11 :25    gcondf
Drwx -------     5          adhit    adhit    4096    Mei      10        11 :22  .gnome2
Drwx -------     2          adhit    adhit    4096    Mei      10        11 :22  gnupg
Drwxr –xr –x  2          adhit    adhit    4096    Mei      10        11 :22  .gstreamer –0 .10
-rw –r –r          1          adhit    adhit    130      Mei      10        11 :22  .gtk bookmarks
Drwx ------      2          adhit    adhit    4096    Mei      10        11 :22  .gvfs
-rw ---------      1          adhit    adhit    318      Mei      10        11 :22  .ICEauthority
Drwx ------      3          adhit    adhit    4096    Mei      10        11 :23  .Local
Drwxr –xr -x   2          adhit    adhit    4096    Mei      10        11 :22  Musik
Drwxr –xr -x   2          adhit    adhit    4096    Mei      10        11 :22  .Nautilus
-rw –r –r --       1          adhit    adhit    675      Mei      10        11 :19  .Profile
Drwxr –xr –x  2          adhit    adhit    4096    Mei      10        11 :22  Publik
-rw --------        1          adhit    adhit    218      Mei      10        11 :30  .recently- Used .xbel
Drwxr –xr –x  2          adhit    adhit    4096    Mei      10        11 :22  Templat
Drwxr –xr –x  2          adhit    adhit    4096    Mei      10        11 :22  Unduhan
Drwx -------     2          adhit    adhit    4096    Mei      10        11 :22  .Update- notifier
Drwxr –xr –x  2          adhit    adhit    4096    Mei      10        11 :22  Video
-rw --------        1          adhit    adhit    2210    Mei      10        11 :22  .Xsession -errors
TUGAS KETIGA
a.       cp = berfungsi untuk mengkopy file ke file yang lain.
Contoh : cp /etc/bind/local.db (spasi) /etc/bind/belajar.db
  1. cd = berfungsi untuk berpindah dari direktori/folder ke yang lain nya
    Contoh : cd /etc/network/
  2. touch = berfungsi untuk membuat sebuah file kosong
Contoh : touch/home/elvis/public_html/40.4.html => membuat sebuah file kosong dengan nama 404.html di dalam folder/home/elvis/public_html/.
  1. mkdir = berfungsi untuk membuat direktory/folder
    Contoh : mkdir /home/sleep holic/desktop/folder baru
e.       rmdir = menghapus direktori yang telah kosong. Hanya bisa dilakukan untuk folder yang kosong.
Contoh : rmdir/home/sleep holic/desktop/folder baru.
  1. rm = berfungsi untuk menghapus file/direktori.
    Contoh : rm /etc/resolv.conf
  2. mv = berfungsi untuk memindahkan file
    Contoh : #/etc/ mv resolv.conf /etc/bind
h.      pwd = Print Working Directory, atau untuk menampilkan nama direktori dimana anda saat itu sedang berada.
Contoh : <pre>/home/user</pre>
  1. hostname = berfungsi untuk melihat nama komputer yang sedang aktif
    Contoh : [user@local host my directory name] $ hostname local host.local domain.
  2. Chdir 



Tidak ada komentar:

Posting Komentar