About 2,440,000 results
Open links in new tab
  1. How do I delete a Git branch locally and remotely?

    Jan 5, 2010 · Don't forget to do a git fetch --all --prune on other machines after deleting the remote branch on the server. ||| After deleting the local branch with git branch -d and deleting the remote …

  2. Colorizing your terminal and shell environment? - Unix & Linux Stack ...

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

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

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

  5. 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 command, it makes …

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

  7. shell - How to check OS and version using a Linux command - Unix ...

    What is the Linux command to check the server OS and its version? I am connected to the server using shell.

  8. How do I use Bash on Windows from the Visual Studio Code integrated ...

    Mar 5, 2017 · Visual Studio Code on Windows uses PowerShell by default as the integrated terminal. If you want to use Bash from Visual Studio Code, what steps should be followed?

  9. How to compare two dates in a shell? - Unix & Linux Stack Exchange

    0 The reason why this comparison doesn't work well with a hyphenated date string is the shell assumes a number with a leading 0 is an octal, in this case the month "07". There have been various solutions …

  10. bash - What does " 2>&1 " mean? - Stack Overflow

    To combine stderr and stdout into the stdout stream, we append this to a command: 2>&1 For example, the following command shows the first few errors from compiling main.cpp: g++ main.cpp …