Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
slackbook:bash [2012/09/08 18:07 (UTC)]
mfillpot [Customization] updated section to match original with formatting
slackbook:bash [2012/10/14 15:52 (UTC)] (current)
mfillpot removed all bash flags
Line 162: Line 162:
 dealing with long filenames: tab completion. ​ Tab completion enables dealing with long filenames: tab completion. ​ Tab completion enables
 you to type just enough of the filename to uniquely identify it, then you to type just enough of the filename to uniquely identify it, then
-by hitting the <​key>​TAB</​key>​ key, **//​bash//​** will fill in+by hitting the <key>'TAB'</​key>​ key, **//​bash//​** will fill in
 the rest for you.  Even if you haven'​t typed in enough text to uniquely the rest for you.  Even if you haven'​t typed in enough text to uniquely
 identify a filename, the shell will fill in as much as it can for you. identify a filename, the shell will fill in as much as it can for you.
Line 267: Line 267:
 temporarily halt a running process, perform some other task, then temporarily halt a running process, perform some other task, then
 resume it or optionally make it run in the background. Upon pressing resume it or optionally make it run in the background. Upon pressing
-<​key>​CTRL-Z</​key>,​ **//​bash//​** will suspend+<key>'CTRL'</​key>​+<​key>'​z'​</​key>,​ **//​bash//​** will suspend
 the running process and return you to a prompt. You can return to that the running process and return you to a prompt. You can return to that
 process later. ​ Additionally,​ you can suspend multiple processes in process later. ​ Additionally,​ you can suspend multiple processes in
Line 320: Line 320:
 applications. Each of these gettys is available on different tty applications. Each of these gettys is available on different tty
 devices that are accessible seperately by pressing the devices that are accessible seperately by pressing the
-<​key>​ALT</​key>​ key and one of the function keys from +<key>'ALT'</​key>​ key and one of the function keys from 
-<​key>​F1</​key>​ through <​key>​F6</​key>​. Using these gettys+<key>'F1'</​key>​ through <key>'F6'</​key>​. Using these gettys
 allows you to login multiple times, perhaps as different users, and run allows you to login multiple times, perhaps as different users, and run
 applications in those users' shells silmutaneously. This is most applications in those users' shells silmutaneously. This is most
Line 409: Line 409:
 **//​bash//​** prompt. Basicaly, every character in **//​bash//​** prompt. Basicaly, every character in
 the PS1 variable is included in the prompt, unless it is a escaped by a the PS1 variable is included in the prompt, unless it is a escaped by a
-<​key>​\</​key>,​ which tells **//​bash//​** to+<key>'\'</​key>,​ which tells **//​bash//​** to
 interpret it. There are many different escape sequences and we can't interpret it. There are many different escape sequences and we can't
 discuss them all, but I'll explain these. ​ The first //"​\u"//​ translates to discuss them all, but I'll explain these. ​ The first //"​\u"//​ translates to
 the username of the current user.  //"​\h"//​ is the hostname of the machine the username of the current user.  //"​\h"//​ is the hostname of the machine
 the terminal is attached to. //"​\w"//​ is the current working directory, and the terminal is attached to. //"​\w"//​ is the current working directory, and
-//"​\$"//​ displays either a <​key>#</​key>​ or a <​key>​$</​key>​ sign,+//"​\$"//​ displays either a <key>'#'</​key>​ or a <key>'$'</​key>​ sign,
 depending on whether or not the current user is root.  A complete depending on whether or not the current user is root.  A complete
 listing of all prompt escape sequences is listed in the listing of all prompt escape sequences is listed in the
Line 443: Line 443:
 and barometric pressure! and barometric pressure!
  
 +====== Chapter Navigation ======
 +
 +**Previous Chapter: [[slackbook:​shell|Basic Shell Commands]]**
 +
 +**Next Chapter: [[slackbook:​process_control|Process Control]]**
 ====== Sources ====== ====== Sources ======
 <!-- If you copy information from another source, then specify that source --> <!-- If you copy information from another source, then specify that source -->
- * Original source: [[http://​www.slackbook.org/​beta/#ch_bash]] +  ​* Original source: [[http://​www.slackbook.org/​beta]] ​\\
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-<​!-- ​* Originally written by [[wiki:​user:​xxx | User X]] -->+  ​* Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson
 <!-- * Contrbutions by [[wiki:​user:​yyy | User Y]] --> <!-- * Contrbutions by [[wiki:​user:​yyy | User Y]] -->
  

In Other Languages
QR Code
QR Code slackbook:bash (generated for current page)