Mostly for my own edification – use “ethtool”, eg:
1# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised auto-negotiation: Yes
Port: Twisted Pair
Supports Wake-on: g
Link detected: yes
You’ll note two important details about this output:
- This NIC is gig capable but is only running at 100mbs.
- I claim to be running this as root, but any good sysad should be using “sudo” instead!
Anyway, simple command, but sometimes you forget them.
A little off topic but, when in Philadelphia… Mmmm… Mmmm…
But everyone should read it:
Not pretty, but gets you there:
Find and go to your Firefox profile (usually you can locate by going to “~/.mozilla/firefox/*.default”). Run “sqlite3 places.sqlite .dump | grep moz_places”
If Firefox is running you may have to copy the “places.sqlite” to a new file then run the “sqlite3″ against it. You can’t dump it while Firefox . . . → Read More: How to dump the Firefox history (Linux)
Applies to IT as well:
“And it’s worth remembering, too, there’s no problem so bad that you can’t make it worse also.”
- Commander Chris Hadfield, Canadian Astronaut
In the old days when using “sendmail” if you wanted to watch the SMTP conversation between the local host and the next mail relay all you’d have to do is either run “sendmail -v” or “mail -v” (or “mailx -v” depending on the OS). It would then output the entire SMTP conversation with the remote . . . → Read More: Testing “sendmail” with immediate delivery
As part of my job I for better or worse have to deal with Excel on a regular basis. One of the issues I have is the sizing of rows (the cell height) not properly expanding, or conversely shrinking, when I add or remove data in the cell.
It turns out there is a very . . . → Read More: Make Excel text fit row height
My big sister who I am eminently proud of:
Bragging done for today.
Dear Secure Companies,
Please stop sending me emails to pick up critical documents or surveys where the URLs I need to follow point into random unverifiable domains. A link that leads to a URL like:
is not going to inspire confidence and, assuming it isn’t spear-fishing or malware, is teaching end users . . . → Read More: Dear Secure Companies…
I’m writing this because I see so many people who use computers regularly who don’t know these basic keyboard shortcuts. They’re easy – learn them and your computer life will be much better. Most work on pretty much any GUI (Windows, Unix, even Mac substituting the CMD key for the CTRL key).
So with no . . . → Read More: Four keyboard shortcuts you should know…