FG
💻 Software

Best practice for storing custom commands (Unix)

Fresh7 days ago
Mar 15, 2026632 views
Confidence Score0%
0%

Problem

I wish to know if there's any standard or recommended place to store your own custom commands (should you prefer not to install them in /usr/local/bin)? I'm referring to small gimmicks that I, personally, don't prefer installing in /usr/local/bin for reasons such as, if I have to reformat my whole …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Best practice for storing custom commands (Unix)

Low Risk

The historically 'standard' place for your own binaries and scripts to go that you don't want to (or can't) install in /usr/local/[s]bin is (i.e., the folder in your home directory). You may need to add that folder to your $PATH environment variable…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment