Monday, 30 October 2017

Linux shared libraries

Linux shared libraries

Just like most other operating systems, Linux supports shared libraries and it supports dynamic libraries, which can be shared between different applications saving space on the system, and static libraries which are built into the application at compile time, which improves compatibility with multiple Linux systems and versions.

If only the geniuses at Canonical had read this before wasting time creating snaps. Static libraries were all they needed.
https://www.tecmint.com/understanding-shared-libraries-in-linux/

Learning the Linux command line - Using find....safely

Learning the Linux command line - Using find....safely

find is a key command to learn and use on Linux or UNIX, but make sure you use it safely. Here's how.
https://www.networkworld.com/article/3233305/linux/using-the-linux-find-command-with-caution.html

Monday, 16 October 2017

Understanding what "Everything is was a file" means in UNIX/Linux

Understanding what "Everything is was a file" means in UNIX/Linux

This is and was a key concept of UNIX, and therefore Linux since their inception. Recently however this idea has been heavily shat upon by systemd's designers and as this blight's mission creep continues to take over more and more utterly init unrelated systems and processes, more of the "Everything is a file" simplicity and power of Linux is destroyed.

#Linux

More on Linux files and hard and soft links here:
https://www.tecmint.com/create-hard-and-symbolic-links-in-linux/#
https://www.tecmint.com/explanation-of-everything-is-a-file-and-types-of-files-in-linux/

Wednesday, 11 October 2017

Linux tips & tricks - using stow to manage source installs

Linux tips & tricks - using stow to manage source installs

Modern Linux distributions have great repositories of software available, so much so that many people never need to go looking elsewhere to meet their needs. Sometimes however you find a piece of software that, for whatever reason, you install from source. This is fine, but it also means that this package is now your responsibility to manage. Updates, dependencies, recompiling, etc. all become your responsibility instead of being automagically handled by your distribution's package manager. "stow" is a tool to help with that.

Note: OpenSUSE users simply type the following from a root command prompt to install stow.
# zypper in stow
at Y prompt

That's it.
https://linuxconfig.org/how-to-use-gnu-stow-to-manage-programs-installed-from-source-and-dotfiles

Monday, 9 October 2017

Learning Linux: Don't leave your terminal sessions logged in - enable auto logout with TMOUT

Learning Linux: Don't leave your terminal sessions logged in - enable auto logout with TMOUT

This is an important consideration for sysadmins. Especially if you frequently get called away from your desk.

Sure this is a simplistic tool and not overly useful, but combined with screen it can be a wonder.
https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/