Linux

From HackerNet
Jump to: navigation, search

Tools

Tips'n'trix

Ta reda på publik IP

curl ifconfig.me

Testa hårdvaruaccelerering

openssl speed -evp AES256

Speedtest

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
./speedtest-cli --simple

Lista filer efter storlek

for i in T G M K; do du -hsx * | grep "[0-9]$i\b" | sort -nr; done 2>/dev/null

Restricted Shell

useradd[mod] -s /usr/sbin/scponly user1

Process Run Time

ps -p PID -o etime=

Intervjufrågor