utk lihat beberapa line dlm file paling awal.
$ head pythonlist.txt
lihat 5 file
$ head -5 pythonlist.txt
10 fail terakhir
$ fail pythonlist,txt
utk tgk 4 fail
$ tail -4 pythonlist,txt
2 fail utk tunjuk 1 page file tkn enter scorelle line by line
1.$ more pythonlist.txt
ctrl c
2.
$ less pythonlist,txt
berbeza krn scrolle blh atas ke bawah
kalau ingin lihat bawah ke atas
$ tac pythonlist.txt
sentiasa ada isi dan bertambah=link up/link down
$ tail -f /var/log/messages.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment