jpeters
Group: Members
Posts: 804
Joined: April 2006 |
|
Posted: Dec. 07 2007,03:39 |
|
Quote (mikshaw @ Dec. 06 2007,21:14) | Quote | ?? cut IS a bash command. | No, it's not. When in a Bash shell, type "help" to list all Bash built-ins. The cut command is a separate program which in Linux is typically supplied with GNU coreutils. In DSL it is part of Busybox. |
Interesting (technicality?).... I learned about "cut" in O'Reilly's "Learning the bash shell." At any rate, it's as common a Unix utility as cat, grep, sort , sed, etc., and probably included in any book on using the bash interface.
EDIT: O'Reilly notes that some older BSD-derived systems don't have 'cut' , and recommends using 'awk' in those instances. EDIT2: For an example, check out .bash_profile
|