Linked Questions

32 votes
3 answers
283k views

How do I create a batch file and run it? [duplicate]

should I use the text editor? the extension should be .sh or .bat?
Sange's user avatar
  • 321
10 votes
1 answer
58k views

How to create & execute a script file [duplicate]

Is there a way to create and execute a script file in Ubuntu 14.04? Perhaps something like Windows batch files. Specifically, I mean the default scripting language of the Ubuntu terminal (Bash). ...
Strato1's user avatar
  • 2,120
0 votes
1 answer
5k views

Execute sh file with java command [duplicate]

Translated I'm looking for a similar solution to creating a bat file in Windows on Ubuntu 18.04, I have a java file in which I make the call via console with the command java -jar routine.jar however ...
Rinarikato Mekitoji's user avatar
0 votes
1 answer
1k views

Script with commands split & cat [duplicate]

I want to split an image.jpg into parts and merge it again. I used the following commands: split -b 1440 image.jpg # It divides it into 6 parts. cat xaa.jpg xab.jpg xac.jpg xad.jpg xae.jpg xaf.jpg &...
thmk's user avatar
  • 1
-1 votes
1 answer
451 views

How to run commands written in text file in Ubuntu 20.04 [duplicate]

I just made a text file with the following commands to launch Xilinx Vivado software. How can I run this text file directly from the Terminal, so that I don't need to copy and paste all these commands ...
engr_john's user avatar
  • 123
0 votes
1 answer
303 views

Automated Scripting [duplicate]

I was wondering if there was a way to set a chain of commands to run without having to type the in individually everytime you want to run it. That way, when I get an computer to secure I can just run ...
D. Gotimer's user avatar
1 vote
0 answers
261 views

How can I install multiple apps on Ubuntu using scripting? [duplicate]

I would like to install a lot of apps, and I has been saving all commands to install each app, here is a sample: ##Global sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ...
ambigus9's user avatar
  • 111
0 votes
1 answer
223 views

How Do I make a program with Ubuntu Command Line [duplicate]

I want to know how to make a program that you can edit and run. The problem is I don't know what the file extension is, like how you can make a text document on windows and save as filename.bat.
spooky's user avatar
  • 1
0 votes
1 answer
111 views

How to make a file which when exectued will install multiple packages in Ubuntu? [duplicate]

I want to make a file which when executed would install all the packages listed inside it like pip install numpy, pip install pandas and others. How is this done? please guide me to appropriate ...
mystical_starseed's user avatar
0 votes
0 answers
55 views

Binding linux commands [duplicate]

Friends, Is it possible within Linux CLI on Ubuntu to create a script that executes a specific command? I'm not sure how to call this, but I think it's best explained by an example: Let's say when I ...
masch1na's user avatar
0 votes
0 answers
30 views

Can you install software and tools using a script? [duplicate]

I'm new to Linux but I saw someone run a script and his user profile, tools like NodeJS, VSCode, the Chrome browser etc were installed on that new machine without him doing it one by one. How could I ...
lana's user avatar
  • 565
2187 votes
9 answers
7.7m views

How to unzip a zip file from the Terminal?

Just downloaded a .zip file from the internet. I want to use the terminal to unzip the file. What is the correct way to do this?
ubuntu-nerd's user avatar
  • 22.1k
10 votes
3 answers
5k views

How can I start my application in a more convenient way?

I am new in Ubuntu. I have an application which I open in the following way. I type in the console: cd ~/MyDirectory ./myapp +some arguments How can I find a solution, so I could launch my ...
nick's user avatar
  • 190
6 votes
2 answers
8k views

Store frequently used terminal commands in a file

Okay, so I want add a command to my Desktop (Or any convenient location), and whenever I run it I want it to clone the HTML5 boilerplate. $ git clone git://github.com/paulirish/html5-boilerplate.git ...
Rigel Glen's user avatar
4 votes
1 answer
20k views

CMD.exe Emulator in Ubuntu to run .cmd/.bat file [duplicate]

Possible Duplicate: Executing .bat file The title says it all. I need to create batch files and run and test them. I dont have any Windows machine. If there was any cmd.exe emulator in Ubuntu I ...
Shiplu Mokaddim's user avatar

15 30 50 per page