Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 16:12
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Beginner Bash: Must-Know Bash Commands
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Wed 22 Dec 2010, 11:05    Post subject:  Beginner Bash: Must-Know Bash Commands  

Hiya!

http://www.canoo.com/blog/?p=1635

Cheers!
Droope

_________________
What seems hard is actually easy, while what looks like impossible is in fact hard.

“Hard things take time to do. Impossible things take a little longer.” –Percy Cerutty

Mi blog (Spanish)
Back to top
View user's profile Send private message 
fratermus


Joined: 28 May 2009
Posts: 20
Location: 75081

PostPosted: Thu 23 Dec 2010, 01:43    Post subject:  

The author seems to conflate "bash" and "shell". To complicate matters further, s/he also seems to believe that utilities like editors and find are functions of the shell.*

The kinds of things one should know about bash in particular would be something like:
    bash-specific config file names and uses

    efficiency techniques like command-line editing and history, tab completion

    parameter/variable expansion

    the fact that bash is not everywhere, and it is good to know how to work with a vanilla Bourne shell, for portability purposes if nothing else.





* one might argue that in a busybox scenario much of the distinction is lost

_________________
Eee 900 (16GB SSD), 2GB RAM, Puppy Linux 5.1.1
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Thu 23 Dec 2010, 03:59    Post subject:  

droope - nice post, but could you maybe pick a thread for these? - not that I care about cluttering up the forum ... it would just be cool to have them together

fratermus - yes & now busybox even has a bash applet that will alias either hush or ash, but really bash scripting could include anything that can be scripted in bash - at least in the Linux standard base - although bash is not everywhere, that is when you change #!/bin/sh to #!/bin/bash (I try to make things at least busybox compatible for sh, dash is too clunky - its hard to believe that ubuntu is still using dash when they have busybox)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 23 Dec 2010, 06:34    Post subject:  

technosaurus wrote:
droope - nice post, but could you maybe pick a thread for these? -

maybe the one I started last year, already has 2 pages.
ttuuxxx
http://www.murga-linux.com/puppy/viewtopic.php?p=288853

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0490s ][ Queries: 11 (0.0101s) ][ GZIP on ]