Markiert: unix

unix

0

Find files containing a given string

If you want to find files containing a specificly given string and you want to remove those files, you should simply use this oneliner (Only searching for files in the current directory):   find...

0

Ping all hosts in network

Untitled Blog Post Name If you want to ping all hosts in a network, you should use the following command: nmap -sn 192.168.1.0/24

0

Mount a temporary ram partition

Untitled Blog Post Name With this simple snippet you can mount a temporary ram partition: ( Be careful – please check if you’re having enough ramspace free ) mount -t tmpfs tmpfs /mnt -o...

0

32 or 64 Bit-System?

If you want to find out, if you’re working on a 32 or 64 bit system, simply use this awesome command in your terminal (Works only on unix-systems): cat /proc/cpuinfo | grep “ lm...

0

Show external IP-Adress

If you want to know your external/public IP-Adress just do this in your terminal: curl http://ipecho.net/plain

0

Generate random password

This one-liner makes it possible to generate a random password on all unix-environments: tr -dc ‘A-Za-z0-9!@#$%^&*’ < /dev/urandom | fold -w 12 | head -n 1