Red de conocimiento informático - Problemas con los teléfonos móviles - Cómo programar redhatlinux

Cómo programar redhatlinux

1.

[root@tech ~]# awk '{print $2, $5, $3}' emp.txt|grep "^M "

Martin 1981-09-28 Ventas Miembro

Miller 1982-01-23 Secretario

2,

(1)[root @ tech ~]# awk ' { print $ 2, $ 5 } ' emp .txt | grep 1981 | grep 02 | grep -v ' 02 $ '

ES 1981-02-20

ward 1981-02-22

(2)

[root@tech ~]# awk -F- '{print NR, $ 2 } ' EMP . grep 02 | p>

[root @ tech ~]# cat EMP . p>7499 Vendedor de Allen 7698 1981-02-20

7521 Vendedor de barrio 7698 1981-02-22