About 2,470,000 results
Open links in new tab
  1. 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 …

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

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

  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. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

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

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

  8. What does $# mean in shell? - Unix & Linux Stack Exchange

    What does $# mean in shell? I have code such as if [ $# -eq 0 ] then I want to understand what $# means, but Google search is very bad for searching these kinds of things.

  9. How do I execute a program or call a system command?

    How do I call an external command within Python as if I had typed it in a shell or command prompt?

  10. How can I assign the output of a command to a shell variable?

    A shell assignment is a single word, with no space after the equal sign. So what you wrote assigns an empty value to thefile; furthermore, since the assignment is grouped with a …