About 73,800 results
Open links in new tab
  1. 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 …

  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 ...

  3. 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 …

  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. 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 …

  6. Problem when trying to run shell script : No such file or directory

    Apr 20, 2015 · Or even just the name of the script if the directory containing the script is in the PATH environment variable. Now if your script is Not executable, you can run it too without …

  7. How to execute a script every time the terminal opens?

    Jan 4, 2021 · Create your script and make a note of the full path (I found it best to add it to the bin folder in the home directory, this way you can run your script without ./) Open Home folder in …

  8. sleep - Run Script on Wakeup? - Ask Ubuntu

    pm-utils provides a bunch of scripts that run on sleep/resume, you could add your script there, but you'll need to be careful as screwing up will likely break resume. Look in /usr/lib/pm …

  9. command line - How to execute a script in a different directory …

    If you make the scrip executable with chmod 755 <nameofscript> to run it you only need to type the path to the script. When you see ./script being used it telling the shell that the script is …

  10. How do I run a script after OpenVPN has connected successfully?

    Pass --script-security 2 --up /path/to/your/script to it when connecting. If you're using a configuration file located at /etc/openvpn/, append the next lines to your configuration file: …

Refresh