! ,.. anywaythe first
submitted version was January 1998
Code: Select all
# change to desktop , using the cd command cd ~/Desktop # make local copy of the bash how to text file , using wget wget http://www.tldp.org/HOWTO/text/Bash-Prompt-HOWTO # search the file for the "text" in quotes , using grep grep -n "been maintaining this document" ./Bash-Prompt-HOWTO # display only lines 137 and 138 from file , using sed sed -n '137,138p' ./Bash-Prompt-HOWTO
--2013-01-30 14:53:40-- http://www.tldp.org/HOWTO/text/Bash-Prompt-HOWTO
Resolving http://www.tldp.org (http://www.tldp.org)... 220.127.116.11
Connecting to http://www.tldp.org (http://www.tldp.org)|18.104.22.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 198225 (194K) [text/plain]
Saving to: `Bash-Prompt-HOWTO'
100%[=====================================>] 198,225 161K/s in 1.2s
2013-01-30 14:53:42 (161 KB/s) - `Bash-Prompt-HOWTO' saved [198225/198225]
grep -n "been maintaining this document" ./Bash-Prompt-HOWTO
137:I've been maintaining this document for nearly six years (I believe the first
sed -n '137,138p' ./Bash-Prompt-HOWTO
I've been maintaining this document for nearly six years (I believe the first
submitted version was January 1998). I've received a lot of e-mail, almost
not in a good format thog3sna wrote:The file at the following link might be useful if you have used DOS commands in the past.
http://dl.dropbox.com/u/80214116/DOS-Li ... mmands.doc
Users browsing this forum: No registered users and 2 guests