Jump to content

Ubuntu:Shell Scripting: Difference between revisions

From Wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Allow permission
Allow permission<syntaxhighlight lang="bash">
chmod +x nama-script.sh
chmod +x nama-script.sh
</syntaxhighlight>


==Update dan upgrade==
==Update dan upgrade==
Script
Script
  #! /bin/sh
  #! /bin/sh  
  sudo apt update
  sudo apt update  
  sudo apt upgrade
  sudo apt upgrade


Line 13: Line 14:
==Install Audacity==
==Install Audacity==
Script
Script
  #! /bin/sh
  #! /bin/sh
   
   
Line 21: Line 23:


Cara menjalankam
Cara menjalankam
  sh ./nama-script.sh
  sh ./nama-script.sh
[[Category:Ubuntu]]
[[Category:Linux]]
[[Category:Tutorial]]

Latest revision as of 09:35, 2 November 2025

Allow permission

chmod +x nama-script.sh

Update dan upgrade

Script

#! /bin/sh 
sudo apt update 
sudo apt upgrade

Cara menjalankam

sh ./nama-script.sh

Install Audacity

Script

#! /bin/sh

## use PPA Repository
sudo add-apt-repository ppa:ubuntuhandbook1/audacity
sudo apt update
sudo apt install audacity

Cara menjalankam

sh ./nama-script.sh