![]() Worse than the system not finding the command is the possibility that you will cause a function to be performed that you didn't want to happen.įor example, in the 'vi' editor, 'j' means to move down one line and 'J' means to join two lines together. For instance, if you want to list your files with the 'ls' command, if you enter 'LS' you will be told "command not found." Be careful when you're typing in commands - whether a character is upper or lower case does make a difference. When interacting with the Unix based operating system, like Linux, one of the first things you need to know is that, unlike other computer systems you may be accustomed to, everything in Unix is case-sensitive. This can go a long way to remembering the command later. ![]() The best thing you can do to remember what commands stand for is to find out what word the command is an abbreviation for. In those old systems, the shorter the input was, the better as it meant less time waiting to issue your command and receive output. This is because the roots of the Linux command line are from systems where a single letter entry could take a significant amount of time to travel from a terminal, to a central server and back to the terminal where it was printed onto a roll of paper. The commands used at the command line may seem a little cryptic due to their tendency to be very short. Depending on the environment, they may include colors, special characters, and other elements like the current time, in order, for instance, to make the prompt more informative or visually pleasing, to distinguish sessions on various machines, or to indicate the current level of nesting of commands.Ī Little History. It is common for prompts to be modifiable by the user. On many Unix system and derivative systems, it is common for the prompt to end in a $ or % character if the user is a normal user, but in a # character if the user is a superuser ("root" in Unix terminology). A prompt usually ends with one of the characters $, %, #, :, > and often includes other information, such as the path of the current working directory. Its intent is to literally prompt the user to take action. Also, some functions can only be accessed through the command line, so if you want to truly understand your new system it is worth learning.Ī command prompt (or just prompt) is a sequence of (one or more) characters used in a command-line interface to indicate readiness to accept commands. If you know the correct commands, then you can start any program, check your computer's status, and see what files you have stored without having to find the listing in your menu. ![]() The command line is an interface that allows you to talk directly to your computer using words called commands. When we refer to a Linux terminal it's a software application, and if you want to get technical it's a terminal emulator." -Akkana Peck This is a term leftover from the olden days of interfacing with mainframes via dumb terminals which had no processing power of their own they were pretty much just monitors and keyboards. When you read about using the command line, which is often abbreviated to CLI for 'command-line interface', they usually mean typing commands into a terminal. The Linux command-line gives you a lot of power - it lets you do tasks that are difficult or impossible with the GUI, and for tasks that you do a lot, such as launching the same applications everyday, it's often faster. ".if you spend all your time in the GUI, you're missing out. Learning objective: (2) Explain the purpose of command line interface in Linux Linux Command Line Interface Linux Command Line Interface
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |