1.

What Does The Command ‘hash’ Is Used For In Bash Shell?

Answer»

Linux command ‘hash’ manages internal hash table, FINS and remember FULL PATH of the specified command, Display used command NAMES and number of times the command is used.

[root@localhost ~]# hash

HITS command

2 /bin/ls

2 /bin/su

Linux command ‘hash’ manages internal hash table, fins and remember full path of the specified command, Display used command names and number of times the command is used.

[root@localhost ~]# hash

hits command

2 /bin/ls

2 /bin/su



Discussion

No Comment Found