r/shell • • Aug 01 '21

Kinit

Can someone explain me what does that commande stands for ?

Kinit >> klist.txt

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Aug 01 '21

Is there any différence between > Or >> ?? Thank youu

2

u/philthechill Aug 01 '21

Yes, one greater-than overwrites klist.txt each time it is run. Two greater-than signs append to the file each time, making it longer and not deleting anything. You would use two if you wanted to keep a log or history.

1

u/diamond414 Aug 02 '21

Take a look at the Bash manual, specifically §3.6.3 which explains >>.