Archive for the ‘*nix-tools’ Category
Posted by jpluimers on 2017/07/07
Good reading on #NoEmailDay 2017: The case of the 500-mile email [WayBack] on how a sysadmin in the mid 1990s found the cause of not being able to send email further than roughly 500 miles.
The exact mile unit doesn’t matter as it was all approximation. Read the FAQ on the 500-mile email [WayBack]
–jeroen
via:
PS: some sendmail tricks from
Read the rest of this entry »
Posted in *nix, *nix-tools, Fun, Power User, sendmail | Leave a Comment »
Posted by jpluimers on 2017/07/03
fuser is a simple yet powerful command line utility intended to locate processes based on the files, directories or socket a particular process is accessing.
Source: Learn How to Use ‘fuser’ Command with Examples in Linux [WayBack]
via: Learn How to Use ‘fuser’ Command with Examples in #Linux – Joe C. Hecht – Google+ [WayBack]
Posted in *nix, *nix-tools, Power User | Leave a Comment »
Posted by jpluimers on 2017/06/21
For one of my VMs I forgot to note which of the initial password I had changed, so I wanted to check them.
Since I didn’t have a keyboard attached to the console and ssh wasn’t allowing root, I needed an alternative than actual login to test the passwords.
Luckily /etc/shadow, with getent and openssl came to the rescue.
Since getent varies per distribution, here is how it works on OpenSuSE:
Read the rest of this entry »
Posted in *nix, *nix-tools, ash/dash, bash, bash, Development, Encoding, Hashing, Linux, md5, openSuSE, Power User, Scripting, Security, SHA, SHA-256, SHA-512, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2017/05/24
Apparently, this is not just a joke, but a real problem:
This morning, a popular Stack Overflow question hit a major milestone:
There is an in depth analysis at [WayBack] Stack Overflow: Helping One Million Developers Exit Vim – Stack Overflow Blog
Via: [WayBack] Fabian S. Biehn – Google+
–jeroen
Read the rest of this entry »
Posted in *nix, *nix-tools, Pingback, Power User, Stackoverflow | Leave a Comment »
Posted by jpluimers on 2017/05/24
Cool: someone made a CheatSheet for Readline keyboard shortcuts for bash, bc, ftp, gnuplot, gpg, ksh, mysql, psql, python, smbclient, xmllint and zsh [WayBack] of the GNU Readline library [WayBack].
–jeroen
Posted in *nix, *nix-tools, Keyboards and Keyboard Shortcuts, Power User | Leave a Comment »
Posted by jpluimers on 2017/05/22
I’ve mounted nearly everything with noatime, doesn’t make sense most of the time to have atime updated.
Source: “BTRFS and find considered harmful?” Thats the headline a colleaqe suggested -…
–jeroen
Posted in *nix, *nix-tools, Power User | Leave a Comment »
Posted by jpluimers on 2017/05/08
From ext3 – How to tell the language encoding of a filename on Linux? – Server Fault [WayBack] I learned a few things:
- filename encoding on Linux is undetermined – the file system just assumes a byte array of characters
- FTP and SFTP suffer from this as well (SFTP is based on SSH which now prefers UTF-8 [WayBack])
A good default is UTF-8, but it’s never guaranteed.
Two tools can help to determine the encoding of a filename:
- convmv [WayBack] converts filenames from one encoding to another
- chardet (Python) The Universal Character Encoding Detector
–jeroen
Posted in *nix, *nix-tools, Development, Encoding, Power User, Software Development, UTF-8, UTF8 | Leave a Comment »
Posted by jpluimers on 2017/04/28
HowTo: Wget Command Examples – Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols
Source: HowTo: Wget Command Examples [WayBack]
I totally forgot about
- the
-c switch that continues an aborted download.
- the
-r -A combination to only download certain file types.
–jeroen
Posted in *nix, *nix-tools, Power User, wget | Leave a Comment »
Posted by jpluimers on 2017/04/24
I don’t use Wireshark enough to be fluent, so here are some links and quotes that proved to be useful for me:
–jeroen
Posted in *nix, *nix-tools, Power User, Wireshark | Leave a Comment »