Skip to main content
added 3 characters in body
Source Link
pb2q
  • 59.9k
  • 19
  • 150
  • 152

cmd.exe and the variety of UN*X shells are all command-line shellscommand-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the cmd.exe shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

The mysql program is also a command-line shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

As has been pointed out, the term shell can be more generally used to refer to a tool that provides access to the services of a system, for instance a desktop user interface including a task bar, application switcher, etc. cf. the wikipedia article for Shell (computing)

cmd.exe and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the cmd.exe shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

cmd.exe and the variety of UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the cmd.exe shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

The mysql program is also a command-line shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

As has been pointed out, the term shell can be more generally used to refer to a tool that provides access to the services of a system, for instance a desktop user interface including a task bar, application switcher, etc. cf. the wikipedia article for Shell (computing)

deleted 4 characters in body
Source Link
pb2q
  • 59.9k
  • 19
  • 150
  • 152

DOS/cmdcmd.exe and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the windows cmd.exe shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

DOS/cmd and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the windows cmd shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

cmd.exe and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the cmd.exe shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

added 336 characters in body; deleted 5 characters in body; deleted 28 characters in body
Source Link
pb2q
  • 59.9k
  • 19
  • 150
  • 152

DOS/cmd and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the windows cmd shell is pretty primitive compared to it's UNX shells are all command-line shells. They all allow you to execute commands, and all support some form of input/output redirection, and some form of piping. All can be scripted, executing shell commands from a filecounterparts. However, the windows cmd shell is pretty primitive compared to it'sThe UNX counterpartsshells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

DOS/cmd and the variety UNX shells are all command-line shells. They all allow you to execute commands, and all support some form of input/output redirection, and some form of piping. All can be scripted, executing shell commands from a file. However, the windows cmd shell is pretty primitive compared to it's UNX counterparts.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

DOS/cmd and the variety UN*X shells are all command-line shells. They all allow you to execute commands.

All support:

  • some form of input/output redirection from/to commands
  • some form of piping
  • setting environment variables
  • a set of programmatic constructs, e.g. loops and if/else

And all can be scripted, executing shell commands from a file.

However, the windows cmd shell is pretty primitive compared to it's UNX counterparts. The UNX shells typically support e.g. more complex string manipulation, and the set of system commands available on UN*X machines makes for a richer programming experience.

mysql is also a shell, only one that is specific to interacting with a MySQL server using mainly SQL commands.

Source Link
pb2q
  • 59.9k
  • 19
  • 150
  • 152
Loading