About 87,900 results
Open links in new tab
  1. How do I create a script file for terminal commands?

    In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I …

  2. How do I create a batch file and run it? - Ask Ubuntu

    Nov 3, 2017 · To create one use the .sh extension but it doesn't really matter but it helps future users to quickly determine which file type it is. The bat name is mostly used on Windows but in …

  3. Using a batch file on Windows to automate Ubuntu in WSL

    May 28, 2022 · Please indicate if you are using WSL (1 or 2?) or a virtual machine like VMWare or VirtualBox to run Ubuntu. Please copy the bat file and paste it directly in your question above …

  4. Is there a way to make a file that would run a terminal command …

    Feb 23, 2012 · Is there a way to make a file that would run a terminal command when you click it? Similar to a .bat extension in windows?

  5. What's the Linux equivalent to Windows batch files? - Ask Ubuntu

    I have a batch file which I use to create an .apk file on my Windows machine. Now I need to be able to create the .apk file in Ubuntu but I don't know how translate my .bat file to a script to be …

  6. How to write, and use, a text batch command file - Ask Ubuntu

    Nov 9, 2015 · How can I write, and use after that, a typical text batch command file? I'm talking about a file which has the following commands: sudo -i sudo apt-get update sudo apt-get …

  7. Open Ubuntu terminal using batch file on windows with command?

    Dec 18, 2021 · The executable of WSL is C:\Windows\System32\wsl.exe. You can just type wsl in Windows Command prompt and you will be logged-in to the default WSL instance. Or type wsl …

  8. Can I run Windows .bat files in Ubuntu?

    Nov 30, 2019 · A window similar to the Windows "command prompt" will appear. Change to the directory containing your Windows batch file and run it by entering its name. Or, you can …

  9. How to run a command when launching WSL Ubuntu

    Jul 26, 2019 · 3 I can open ubuntu.exe using a .bat file by: start ubuntu.exe But I want to pass the parameter "./mnt/c/xxx.sh" to ubuntu.exe. I.E. I want ubuntu.exe to launch a specific shell by …

  10. How to create & execute a script file [duplicate] - Ask Ubuntu

    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 …