answersLogoWhite

0


Best Answer

Once upon a time, all computers were controlled by typing instructions. There was no GUI 'Graphic User Interface' as on modern computers. Whilst there is nothing wrong in using GUI entirely, some users would rather use the CLI 'Command Line Interface' on a terminal, either entirely or partly. Provided the user knows the code to type, it is often faster using CLI than the mouse and GUI.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

A command shell is often a fast, simple, and less resource-intensive way to launch an application.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you use shell commands?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write an sh in different languages?

In Python: Use the subprocess module to execute shell commands by calling subprocess.run(['sh', '-c', 'your_command_here']). In JavaScript: Use Node.js child_process module to execute shell commands by calling child_process.exec('your_command_here', callback_function). In Ruby: Use the system method to execute shell commands by calling system('sh -c your_command_here').


Program in shell of implementing cp command?

The 'cp' command is a primitive command; there isn't anything really in the shell to accomplish this. You could use other commands for 'cp' (such as 'cat') but those are also primitive commands.


Distinguish between internal and extarnal commands with examples for unix?

Internal commands are executed by the shell and do not exist as a separate binary program. You can find out which of these there are by looking at the 'man' entry for the shell you are using. External commands can be found in various directories, such as /bin, /usr/bin, etc.


What do you mean by shell and shell scripts?

Shell scripts are interpreted files that contain commands and logic sequences to do things. They are similar to programs in that they contain logic and sequencing, and call other programs to accomplish tasks. You use shell scripts to automate tasks in Unix, run tasks periodically, create repeatable tasks, etc.


How would you run a command on the shell without spawing a new child process?

all commands (except for commands built into your shell) spawn child processes necessarily.


Description of set commands in UNIX?

'set' commands vary depending on what shell program you are using. All of them (for each shell) are documented in the 'man' command or 'info' command for that shell. For example, 'man csh', et al.


What is bash shell scripting?

Bash shell scripting is the process of writing a series of commands in a text file that are recognized by the bash shell interpreter.


Where is 'shell' to type in?

Not sure that you mean exactly. On a PC you might use the run command and it would open a box that you would be able to type in commands such as dir, CD C:. On a machintosh you might open a terminal window. It is listed under Applications, Utilities. Once the terminal window opens you are able to type in unix type commands. On a Linux/unix system, when your account was set up, a system administrator put in the password file the default shell for you to use. Usually it is csh or bash. When you log on to the computer you are already in a shell. A shell is a list of commands that allows you to comunicate with the computer.


What is a shell interpreter?

A shell interpreter is a program that reads and executes commands entered by a user in a command-line interface. It interprets the commands and communicates with the operating system to carry out the requested tasks. Popular shell interpreters include Bash, sh, and PowerShell.


What is the difference in conditional control statement of Linux shell and C?

Almost everything. C: if (expression) statement else statement Shell: if COMMANDS then COMMANDS else COMMANDS fi Note: these parts can be separated with semicolon as well, eg: if test x"$SHELL" = x"/bin/bash"; then echo 'Bash'; else echo 'Other'; fi


What is shell scripting?

Shell scripting is scripting that uses the Windows Script Host shell. While the above answer may be true for Windows based systems, for Unix and Unix-like systems shell scripting is the ability to create a file of commands and to have them executed automatically, including unattended operation. It is used in the cases where one wishes to automate a process with a given series of commands to be used many times. Shell scripting allows one to automate processes, thereby reducing errors and misspellings by putting the commands in a file and telling the system to execute the commands.


What is the purpose of a shell script?

A shell script is used to automatically enter a series of commands without having to make the user type them out.