x - delete current character dw - delete current word dd - delete current line 5dd - delete five lines d$ - delete to end of line d0 - delete to beginning of line :1,.d delete to beginning of file :.,$d delete to end of file
lundi 20 février 2012
vi & les delete
mercredi 15 février 2012
Contenu fichier Unix - Mode Ascii
[root@hostname depot]# od -t c batch_test.ksh | more
0000000 # ! / u s r / b i n / k s h \n #
0000020 s e t - x \n \n # # # # # # # #
0000040 # # # # # # # # # # # # # # # #
../..
En cas de présence de "\r", on peut supprimer cela via la commande dos2unix <filename>
0000000 # ! / u s r / b i n / k s h \n #
0000020 s e t - x \n \n # # # # # # # #
0000040 # # # # # # # # # # # # # # # #
../..
En cas de présence de "\r", on peut supprimer cela via la commande dos2unix <filename>
Inscription à :
Articles (Atom)