Difference between revisions of "HP-UX"

From Mesopoly 3.0
Jump to navigation Jump to search
Line 1: Line 1:
==tested==
+
==tips==
*to redirect Standard Error to a file use '2>' instead of usuall '>' (p. 115)
+
*to redirect Standard Error to a file use ...
 +
'2>'  
 +
.. instead of usuall  
 +
'>'  
 +
 
 
===VI commands===
 
===VI commands===
*'I' - insert at ther begginig of the line
+
 
*'3,404w file.txt' write lines 3 to 404 to file.txt
+
'I' - insert at ther begginig of the line
*':m n'  move current line to after line n
+
'3,404w file.txt' write lines 3 to 404 to file.txt
*':t n'  copy current line to after line n
+
':m n'  move current line to after line n
 +
':t n'  copy current line to after line n
  
 
==to test yet==
 
==to test yet==
 
*cut
 
*cut
 
*tee - sends output of pipe to additional place (file as well as stout f.e.)
 
*tee - sends output of pipe to additional place (file as well as stout f.e.)

Revision as of 20:55, 2 July 2006

tips

  • to redirect Standard Error to a file use ...
'2>' 

.. instead of usuall

'>' 

VI commands

'I' - insert at ther begginig of the line
'3,404w file.txt' write lines 3 to 404 to file.txt
':m n'  move current line to after line n
':t n'  copy current line to after line n

to test yet

  • cut
  • tee - sends output of pipe to additional place (file as well as stout f.e.)