About 2,270,000 results
Open links in new tab
  1. bash - Shell equality operators (=, ==, -eq) - Stack Overflow

    Shell equality operators (=, ==, -eq) Asked 12 years, 2 months ago Modified 3 years, 9 months ago Viewed 655k times

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

    Nov 29, 2025 · 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 …

  3. shell - What does "&" at the end of a linux command mean ... - Stack ...

    Nov 12, 2012 · I am a system administrator and I have been asked to run a linux script to clean the system. The command is this: perl script.pl > output.log & so this command is ending with a …

  4. Difference between Login Shell and Non-Login Shell?

    May 8, 2012 · I understand the basic difference between an interactive shell and a non-interactive shell. But what exactly differentiates a login shell from a non-login shell? Can you give examples for uses of...

  5. How do I run a command as the system administrator (root)

    On many systems booting into single user mode will give the user access to a root shell without prompting for a password. Notably, systemd -based systems will prompt you for the root password …

  6. shell - How to concatenate string variables in Bash - Stack Overflow

    Nov 15, 2010 · A bashism is a shell feature which is only supported in bash and certain other more advanced shells. It will not work under busybox sh or dash (which is /bin/sh on a lot of distros), or …

  7. How to if/else statement in shell script - Stack Overflow

    Jan 7, 2014 · The if statement in shell uses the command [. Since [ is a command (you could also use 'test'), it requires a space before writing the condition to test. To see the list of conditions, type: man …

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

  9. How do I get a console-like connection into a Docker container's shell ...

    It allows you to get a shell (Bash, Fish, Z shell (executable zsh) (executable zsh), et.) into any container. It also works for stopped containers and images. Essentially, it's a replacement of docker exec -it …

  10. shell - How do I read user input into a variable in Bash ... - Stack ...

    Oct 19, 2022 · How do I read user input into a variable in Bash? fullname="" # Now, read user input into the variable `fullname`.