DEV Community

Discussion on: What's one thing about Linux you wish you'd known?

Collapse
 
evanplaice profile image
Evan Plaice

Partial name matching

Say you want to install a .deb file you just downloaded named...

some_really_long_name-v1.99.8764-beta-OMFG-this-name-is-annoyingly-long-and-case-sensitive

As long as the short version doesn't collide with another file name in the directory you can do.

dpkg -i ./some~

Case sensitivity in general was a difficult adjustment until I learned how to use regular expressions, aliases, and exports.