About 2,450,000 results
Open links in new tab
  1. How to enable execution of PowerShell scripts? - Super User

    Start Windows PowerShell with the "Run as Administrator" option. Only members of the Administrators group on the computer can change the execution policy. Enable running …

  2. bash - Why does my shell script choke on whitespace or other …

    … or an introductory guide to robust filename handling and other string passing in shell scripts. I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on …

  3. How to check if a string contains a substring in Bash

    You should remember that shell scripting is less of a language and more of a collection of commands. Instinctively you think that this "language" requires you to follow an if with a [ or a [[.

  4. What is the difference between shell, console, and terminal?

    The shell is the program which actually processes commands and returns output. Most shells also manage foreground and background processes, command history and command line editing.

  5. Colorizing your terminal and shell environment? - Unix & Linux …

    I spend most of my time working in Unix environments and using terminal emulators. I try to use color on the command line, because color makes the output more useful and intuitive. What …

  6. windows - How to run a PowerShell script - Stack Overflow

    The MSDN/Technet URL now redirects to a page saying "The Windows PowerShell 1.0 Owner’s Manual has been retired. For the most up-to-date Windows PowerShell content, go to Using …

  7. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

    Shell equality operators (=, ==, -eq) Asked 12 years ago Modified 3 years, 6 months ago Viewed 648k times

  8. How to parse JSON with shell scripting in Linux?

    However with an easy tweak you can process it with some shell function or read it line-by line, too. Beware: You cannot distinguish between Strings and Numbers, as both are expressed the …

  9. Difference between ${} and $() in a shell script - Super User

    $(command) is “command substitution”. As you seem to understand, it runs the command, captures its output, and inserts that into the command line that contains the $(…); e.g., $ ls -ld …

  10. How do I get a console-like connection into a Docker container's …

    docker debug <container or image> It allows you to get a shell (bash/fish/zsh) into any container. It also works for stopped containers and images. Essentially it's a replacement of docker exec …