48Part ILinux First StepsInstead of just running a (Web page design)

48Part ILinux First StepsInstead of just running a historycommand line immediately, you can recall a partic- ularline and edit it. You can use the following keys or key combinations to do that: Key(s)Function NameDescriptionArrow Keys StepPress the up and down arrow keys to step (.and .)through each command line in your historylist to arrive at the one you want. (Ctrl+P andCtrl+N do the same functions, respectively.) Ctrl+RReverse Incremental SearchAfter you press these keys, you enter a search string to do a reverse search. As you type thestring, a matching command line appears thatyou can run or edit. Ctrl+SForward Incremental SearchSame as the preceding function but forforward search. Alt+PReverse SearchAfter you press these keys, you enter a stringto do a reverse search. Type a string and pressEnter to see the most recent command linethat includes that string. Alt+NForward SearchSame as the preceding function but forforward search. Alt+End of History ListBrings you to the last entry of the history list. Another way to work with your history list is to use the fccommand. Type fcfol- lowed by a history line number, and that command line is opened in a text editor. Make the changes that you want. When you exit the editor, the command runs. Youcan also give a range of line numbers (for example, fc 100 105). All the commandsopen in your text editor, and then run one after the other when you exit the editor. The history list is stored in the .bash_historyfile in your home directory. Up to1,000 history commands are stored for you by default. Connecting and Expanding CommandsA truly powerful feature of the shell is the capability to redirect the input and out- put of commands to and from other commands and files. To allow commands to bestrung together, the shell uses metacharacters. As noted earlier, a metacharacter isa typed character that has special meaning to the shell for connecting commandsor requesting expansion.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check Vision professional web hosting services

Leave a Reply