cut

kuondoa sehemu kutoka kwa kila mstari wa files

nakala
43
1
cut -d ' ' -f1,2 /etc/mtab

maelezo |

nakala
21
2
uname -a | cut -d" " -f1,3,11,12

maelezo |

nakala
20
1
uptime |cut -d , -f 1 | cut -c 2-

maelezo |

nakala
15
0
cut -c3 file | paste - file

maelezo |

nakala
14
2
echo "abcdefghijklmnopqrstuvwxyz" | cut -c 5-

maelezo |

nakala
10
1
date | cut -b 1-3

maelezo |

nakala
11
1
who | cut -d" " -f1

maelezo |

nakala
11
1
echo "This is a test" | cut -f1 -d' '

maelezo |

nakala
4
1
cat /etc/passwd |cut -d: -f6

maelezo |

nakala
6
1
echo "a|b|c|d|e" | cut -f 3- -d \|

maelezo |