command

unix/linux data analysis / processing tools for large text format data------head

head

the first command i introduce here is head,later i will show others ,such as tail,wc,cat,vi,join and so on.

head means 'first' , so if you want to get the first part of your data file , you can use

head command.

such as :

head abc.dat

the result returns:

--------------------------------

TO use a short path of windows command prompt

TO use  a short path of windows command prompt

you like command windows?

sometimes you will change your work directories frequently,

so it often come out with a great long path before the prompt,

like : C:\Documents and Settings\Administrator>

and you want the long path "C:\Documents and Settings\Administrator>" to be hidden?

just want >cmd on the command window?

so just type :

prompt $G

then "C:\Documents and Settings\Administrator>"  will disappear and only a '>' left.

is that cool?

appendix:

USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor)

-------------------------------------------------------------------------
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5

Latest version of this file (in English) is usually at:
http://sed.sourceforge.net/sed1line.txt

Syndicate content