This is how I get the IP information from a Ubiquity wireless Nanostation. XM.v5.5.3# ifconfig br0 br0 Link encap:Ethernet HWaddr DC:9F:DB:42:59:2B inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::de9f:dbff:fe42:592b/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:921 errors:0 dropped:0 overruns:0 frame:0 TX packets:501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:158229 (154.5 KiB) TX …

It is very easy to create a loopback filesystem in your home directory. This can be used to store files, or can be enabled as a swap partition. Firstly, run this command to create a blank file-system image. This will be 524 megabytes. [email protected]:~/Documents$ dd if=/dev/zero of=myimage.img bs=1024 [email protected]:~/Documents$ dd if=/dev/zero of=myimage.img bs=1024 count=524288 Now …

A nice shell prompt that is randomly generated each time it appears. _() { shuf -n 1 /usr/share/dict/words | sed "s/’s$//; s/.*/\l&/"; }; PS1="\[\e[1;31m\]$(_)\[\e[m\]@\[\e[1;35m\]$(_)\[\e[m\]\$ "_() { shuf -n 1 /usr/share/dict/words | sed "s/’s$//; s/.*/\l&/"; }; PS1="\[\e[1;31m\]$(_)\[\e[m\]@\[\e[1;35m\]$(_)\[\e[m\]\$ " Select a random word from a textfile with bash. ubuntu ~ $ shuf -n 1 /usr/share/dict/words pluckedubuntu ~ …

There is a massive repository of pirated material out there, and it is not Pirate Bay. It is Google Drive. There is practically anything you can dream of on there. Use this search term to find pirated movies. site:drive.google.com "yify" -"Whoops!"site:drive.google.com "yify" -"Whoops!" This returns a massive listing of all the pirated material that Google …

Get a comprehensive listing of all Arch Linux pacman mirrors. curl -s -L "https://www.archlinux.org/mirrorlist/?country=all&protocol=https&use_mirror_status=on" 2>&1 | sed ‘s/^.//’ > mirrorlistcurl -s -L "https://www.archlinux.org/mirrorlist/?country=all&protocol=https&use_mirror_status=on" 2>&1 | sed ‘s/^.//’ > mirrorlist A simple script to update your mirror listing on your Arch Linux system. #!/bin/bash echo "Fetching new sorted mirrorlist…" curl -s -L "https://www.archlinux.org/mirrorlist/?country=all&protocol=https&use_mirror_status=on" 2>&1 | sed …

It is very simple to show a banner to your users, that explains the terms of use for an SSH connection upon the user reaching a login prompt. Firstly, create a file named info in the /etc/ssh directory. sudo touch /etc/ssh/infosudo touch /etc/ssh/info Then put this in it. *************************************************************************** NOTICE TO USERS     This …