About 82,000 results
Open links in new tab
  1. execute a powershell script (hello world) - Ask Ubuntu

    Feb 17, 2018 · A powershell "hello world" script is spawning and bogging down the system: Tasks: 413 total, 2 running ...

  2. How to run only selected lines of a shell script? - Ask Ubuntu

    Sep 4, 2024 · Now, when you run favorites, it will display your favorite commands with line number, and ask which number you want to run. When you input a line number and hit Enter, …

  3. wsl -e cannot run a script that I can run when wsl has been executed

    Sep 28, 2023 · I created a script in Ubuntu: # bash_test_01.sh echo "cmd is executed" Running the script from inside WSL works: > wsl $ cd /home $ /home/bash_test_01.sh cmd is …

  4. Converting PowerShell (.ps1) script to Windows Executable (.EXE) …

    Jun 10, 2023 · To convert the PowerShell script (sample.ps1) to an executable file (sample.exe), I used the following command in PowerShell: ps2exe -OutputFile sample.exe sample.ps1 This …

  5. windows - Can I run PowerShell on Ubuntu? - Ask Ubuntu

    Aug 3, 2014 · But if you have an assignment that involves Windows Powershell, there's little choice. There are some shells (and even modifiers existing shells like zsh) that aim to pull in …

  6. conda activate not working in a bash file - Ask Ubuntu

    Sep 5, 2019 · I am trying to write a script with the name myscrpt.sh, so when I run it it automatically creates a virtual env and activate it using conda. My conda version is 4.7.1. This …

  7. bash - Why does my powershell script run with "pwsh" but doesn't …

    Jan 4, 2024 · However, when I try to run the script using sudo before pwsh, I get two lines of errors: Stack overflow. Aborted. I'm assuming the two issues are related but I've tried changing …

  8. How to run a script without closing the terminal? - Ask Ubuntu

    Jan 29, 2013 · xterm -e "bash ~/script.sh;bash" This does the following: opens xterm; executes the script script.sh; shows the bash prompt after the script has finished. You can exit the xterm …

  9. Is it possible to run a WSL app in the background?

    Oct 17, 2022 · With Systemd still disabled, from PowerShell, wsl --shutdown; Start Ubuntu (e.g. wsl ~) Run nohup sleep 100000 & Hit Enter one extra time to dismiss the nohup message; Exit …

  10. Run ubuntu-desktop on WSL (Ubuntu 18.04 LTS)

    Aug 2, 2019 · Open PowerShell: Press "⊞ Windows" Enter "PowerShell" into the search bar Right-click "Windows PowerShell" Click "Run as Administrator" Open WSL2: Copy the …

Refresh