PAUSE:Ctrl+s
RESUME: Return/Ctrl+q
source: here
This script relies on wireshark, it has to be installed
#!/bin/bash
#macaddresslookup.sh
if [[ ! $1 ]]
then echo "Usage: $0
exit 1
else
mac=$1
#echo ${mac:0:8}
oui=${mac:0:8}
grep -i $oui /usr/share/wireshark/manuf
fi
You can also download the file:
http://anonsvn.wireshark.org/wireshark/trunk/manuf
how to send and/or resume:
rsync --partial --progress --rsh=ssh tarball_with_legal-files.tar.gz root@example.net:/mnt/directory/
root@machine:# vim /usr/share/applications/defaults.list
%s/google-chrome.desktop/exo-web-browser.desktop/g
#!/bin/bash
# installed_version.sh
# written by f varas, with lots of love and awk, which are basically the same.
# how it works:
# this script will tell you the _installed_ version of the
# package name you pass as argument.
if [ "x$1" != "x" ]
then dpkg -l | grep "^ii.*$1" | awk '{ printf "%-35s %s\n", $2 , $3 }'
else echo "usage: version_installed.sh
fi
I’ve been using debian for a while on my macbook 4,1 and the spdif light stays always on. This is disturbing.
As root, I used amixer set IEC958 off to shut the damn red ligh off.
Good Luck!
if you have servers with non standard ports for ssh, you can
a) ssh -p 2009 user@machine
scp -P 2009 …
b) edit your ~/.ssh/config
Host www.example.com
Port 50002
then, just ssh user@machine will work
If you need to know the version of a GNU/Linux kernel module:
modprobe {module}