Minggu, 22 Desember 2019

CODINGAN UAS

1. Buat folder " NIM_UAS".

  -Mkdir 1802048_uas

2. didalamnya buat folder Epithet,Malevolent,Tyrotoxim.

-Mkdir 1802048_uas/Epithet
-Mkdir 1802048_uas/Malevolent
-Mkdir 1802048_uas/Tyrotoxim

3. Copy Folder Malevolent Ke Folder Epithet.

- cp -r Malevolent ~/1802048_uas/Epithet

4. Rename Folder Tryrotoxism Menjadi Quiescent.

-Mv 1802048_uas/Tyrotoxism 1802048_uas/Quiescent

5. Copy folder Epithet kedalam Folder Malevolent.

- Cd 1802048_uas
- 1802048_uas cp -r Epithet ~/1802048_uas/Malevolent

6. Rename nama folder NIM_UAS/Malevolent/Epithet/Malevolent menjadi Tyrotoxism.

- Cd ~
- Mv 1802048_uas/Malevolent/Epithet/Malevooent
- 1802048_uas/Malevolent/Epithet/Tyrotoxism

7. Dan pindah folder Tyrotoxism ke folder Quiescent.

- Mv 1802048_uas/Malevolent/Epithet/Malevolent

-Mv 1802048_uas/Malevolent/Epithet/Tyrotohism

8.Kemudian buat folder Quiescent didalam folder NIM_UAS/Epithet/Malevolent

-Cd 1802048_uas/Epithet/Malevolent
-1802048_uas/Epithet/Malevolent Mkdir Quiescant

9. Buat folder epithet dalam folder NIM_UAS/Quiescent/Tyrotoxism.

-  Cd ~
-  Cd 1802048_UAS/Quiescent/Tyrotoxism
- 1802048_UAS/Quiescnt/Tyrotoxism Mkdir Epithet

10. setelah itu hapus folder NIM_UAS/Quiescent/
Tyrotoxism/Epithet

- 1802048_uas/Quiescent/Tyrotoxism Rmdir Epithet

11. Copy Folder NIM_UAS/Epithet/Malevolent/Quiscent kedalam folder NIM_UAS/Epithet

- Cd ~
- Cd 1802048_uas/Epithet/Malevolent
- 1802048_uas/Epithet/Malevolent/ cp -r Quiescent ~/1802048_uas/Epithet

12. Pindah kan folder Nim_uas/Epithet/Malvolent/Quiscant kedalam folder Tyrotoxism.

- Cd ~
- 1802048_uas/Epithet/ Malevolent /Quiescent
- 1802048_uas/Quiescent/Tyrotoxism/Quuescent

13. Buat file seluruh nama file 1 text txt ke dalam folder NIM_UAS /Epithet/Quiescent.

- Cd 1802048_uas/Epithet/Quiescent
- 1802048_uas/Epithet/Quiescent Touch 1 file1.txt

14. Dan kemudian ubah hak akses Folder NIM/UAS/Malevolent/Epithet menjadi drw---wxr-z(Mengunakan letter coding system)

- cd 1802048_uas/Malevolent
- 1802048_ uas/Malevolent ls  -l
- 1802048_uas/sudo chmod
 u+r Epithet
-1802048_uas/ sudo chmod g-r Epithet
-1802048_uas/ sudo chmod g+r Epithet
-1802048_uas/ sudo chmod g+w Epithed
-1802048_uas/sudo chmod u-x Epithed
-1802048_uas/sudo chmod u-r Epithed
-1802048_uas/sudo chmod u+r Epithed
-1802048_uas/sudo chmod g-r Epithed

15. Kemdian kompres folder NIM_UAS/Epithed dengan nama arsip.zip

- zip arsip.zip Epithed

16.extrak file arsip.zip kedalam folder NIM_UAS/Quiescent

Unzip arsip.zip -d Quiescant



Soal 2
1.buat program perulangan dengan nama ujian.sh didalam folder 1802048_uas/Melavolent dan jalan kan dengan hasil out put seperti berikut:

Perulangan ke 1
Peeulangan ke 3
Perulangan ke 5
Perulangan ke 7

Nano ujian.sh
#!bin/sh
Clear

For prulangan
(1..7)
Do
Echo "perulangan ke- $perulangan"
Done

0 komentar:

O'CLOCK

Followers

Diberdayakan oleh Blogger.

Popular Posts

Download

Flying Angel Heart
MEI DELLA REFPRIYANI © 2013 Published By Gooyaabi Templates Supported by Best Blogger Templates and Premium Blog Templates - Web Design