Difference between revisions of "Linux"
From HackerNet
Helikopter (talk | contribs) (Created page with "=Tools= =Tips'n'trix= =Intervjufrågor=") |
Helikopter (talk | contribs) |
||
Line 3: | Line 3: | ||
=Tips'n'trix= | =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= | =Intervjufrågor= |
Revision as of 18:31, 7 May 2015
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=