D
D
Demigodd2017-08-29 17:26:12
linux
Demigodd, 2017-08-29 17:26:12

How to write a simple Bash script that executes apt-get install,cd.. commands?

You need to write a simple sh script that will, in turn, do apt-get install, git clone .... , cd / , rm, etc.
Can you tell me how to write bash script syntax? At least give me the basics, I'll figure it out myself. Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2017-08-29
@Demigodd

#!/bin/bash
apt-get install ..
git clone ...
cd /
rm ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question