Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (17) </ ... 12 13 14 15 16 [17] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: icons look and feel< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 07 2007,03:39 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 08 2007,02:06 QUOTE

Yeah, it is extremely common, and my post was focusing on a minor technicality. I meant only to emphasize the difference between "command" and "bash command". The Bash built-ins will work on any system that has Bash. The cut command will work on any system that has cut installed, regardless of whether you use bash or zsh or ash or whatever. The difference is minor, but the possibility exists that cut is not installed and therefore not available even if you use Bash.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
81 replies since Nov. 30 2007,02:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (17) </ ... 12 13 14 15 16 [17] >/
reply to topic new topic new poll
Quick Reply: icons look and feel

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code