Hacker Commands
รู้จักไฟล์/ไดเรกทอรี ซ่อนไฟล์
$ file /etc/lsb-release
$ file /dev/tty0
$ file /usr/bin/head
$ file /usr/bin/netcat
$ which netcat
$ which head
$ touch .my_hidden_file
$ ls -a | grep "^\."Special files
/dev/null
Discards all the data written to it. Useful to trash out unwanted output (usually some unnecessary log information).
/dev/zero
Reading this file return zero. Useful to fill a file with all zeros.
/dev/random
Returns random bytes when read. Use your imagination where this could come handy (cryptography, maybe).
/dev/urandom
Returns pseudo random number when read.Random Number Generator
Last updated
Was this helpful?