About 68,100 results
Open links in new tab
  1. How to run only selected lines of a shell script? - Ask Ubuntu

    Sep 4, 2024 · On Windows it's possible to create a *.ps1 (PowerShell) file where you can write one command per line or initialize variables etc. You then open it with VSCode and select the …

  2. 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, 411 sleeping, 0 stopped, 0 zombie %Cpu (s): 42.8 us, 5.9 sy, 0.0 …

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

    Jun 10, 2023 · In this particular section of my project, I need to generate executable files (exe) from dynamic PowerShell (ps1) scripts at runtime. These exe files will then be downloaded …

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

    Aug 3, 2014 · I have been assigned a project to be done in Windows PowerShell. I am familiar with shell scripting but it's a new technology. I was told that its similar to shell except few …

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

    Sep 28, 2023 · "bash is active and on normal wsl it isn't" - Actually, it is. Without the -e, WSL invokes the default user shell and passes the remaining command-line to it using -c. You can …

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

    Jan 4, 2024 · The scripts no longer work with crontab. Specifically, it doesn't retrieve the data from Azure anymore. I know this isn't an Azure issue because I can run the script fine manually in …

  7. Can't run npm install in WSL - Ask Ubuntu

    Feb 19, 2024 · I just ran the wsl on windows terminal however I don't think that makes any diff. I am starting to think this is about memory issue. When I check the node_modules I can see 1-2 …

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

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

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

    Jan 29, 2013 · Using Gnome Terminal Using gnome-terminal appending ;bash at the end of the command string and calling the script with -c option works. For example: gnome-terminal -e …

  10. How to run scripts without typing the full path? - Ask Ubuntu

    Mar 1, 2014 · I'd like to know if there is a way to run program/shell script without typing full path: /opt/idea/bin/idea.sh