Shell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
* '''SED''' is the ultimate stream editor | * '''SED''' is the ultimate stream editor | ||
* '''WGET''' with authentication <pre>$ wget --http-user=usr --http-passwd=pwd http://link</pre> | * '''WGET''' with authentication <pre>$ wget --http-user=usr --http-passwd=pwd http://link</pre> | ||
* SCP: Copy across servers | * '''SCP''': Copy across servers | ||
Revision as of 03:05, 24 August 2008
- AWK To read a portion of a text file:
$ awk '{print substr($1,1,10)}' file >newfile - SED is the ultimate stream editor
- WGET with authentication
$ wget --http-user=usr --http-passwd=pwd http://link
- SCP: Copy across servers