Sorry @Melber, I should have quoted the OP when I made that comment.
A script to show PATH
Re: A script to show PATH
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: A script to show PATH
There is an upgraded version in the first post now.
If you make that to a personal script, and if you name the script showpath.sh you can now use the Terminal command:
Code: Select all
showpath.sh --help
Re: A script to show PATH
Jakob77 wrote: Thu Jun 12, 2025 3:36 pmThere is an upgraded version in the first post now.
If you make that to a personal script, and if you name the script showpath.sh you can now use the Terminal command:
Does that help answering your good question.? :-)Code: Select all
showpath.sh --help
Not really because your initial post said this
for showing and testing PATH
I was wondering how the script tests the path. If it is just echoing for $PATH, then running that from a terminal is no different.
Code: Select all
╔═[siamhie@flux23]═[13:44 12/06/25]══════════════════════════════════════[~/.fluxbox]
╚═> echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
Code: Select all
╔═[siamhie@flux23]═[13:51 12/06/25]══════════════════════════════════════[~/.fluxbox]
╚═> ls -l --group-directories-first
total 100
drwxr-xr-x 2 siamhie siamhie 12288 Apr 19 21:49 backgrounds
drwxr-xr-x 41 siamhie siamhie 4096 Jan 24 18:26 mystyles
drwxr-xr-x 2 siamhie siamhie 4096 Jan 1 12:40 scripts
drwxr-xr-x 7 siamhie siamhie 4096 Apr 29 08:32 styles
drwxr-xr-x 2 siamhie siamhie 4096 Jun 12 07:31 submenus
-rwxr-xr-x 1 siamhie siamhie 6073 Jun 12 13:42 apps
-rw-r--r-- 1 siamhie siamhie 75 Mar 12 06:33 fbrun_history
-rw-r--r-- 1 siamhie siamhie 291 Jan 1 07:54 fluxbox-mx-defaults
-rw-r--r-- 1 siamhie siamhie 3689 Jun 2 08:15 init
-rw-r--r-- 1 siamhie siamhie 4141 May 31 14:29 keys
-rw-r--r-- 1 siamhie siamhie 5797 May 31 12:33 keys-BAK
-rw-r--r-- 1 siamhie siamhie 3870 Jan 26 13:26 keys-orig
-rw-r--r-- 1 siamhie siamhie 191 Sep 13 2024 lastwallpaper
-rw-r--r-- 1 siamhie siamhie 66 Jan 1 07:54 menu
-rw-r--r-- 1 siamhie siamhie 1089 May 10 17:00 menu-mx
-rw-r--r-- 1 siamhie siamhie 1896 May 30 03:50 overlay
-rw-r--r-- 1 siamhie siamhie 64 Jun 12 06:40 pre-global-menu.txt
-rw-r--r-- 1 siamhie siamhie 12 Jun 12 13:19 slitlist
-rw-r--r-- 1 siamhie siamhie 1962 May 28 07:26 startup
-rw-r--r-- 1 siamhie siamhie 168 Jan 1 07:54 windowmenu
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: A script to show PATH
siamhie
There are many ways to test.
And the taste for remembering and typing a lot of Terminal commands can be very different.
However if you want to see how PATH looks when you run a personal user script I am afraid you will have to run a script.
I can not guide you about Fluxbox.
There are many ways to test.
And the taste for remembering and typing a lot of Terminal commands can be very different.
However if you want to see how PATH looks when you run a personal user script I am afraid you will have to run a script.
I can not guide you about Fluxbox.
Re: A script to show PATH
Why not just: No script required.
Code: Select all
env | grep PATH
Re: A script to show PATH
Too easyWhy not just:
Why simple when you can do it complicated?
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?
In nature there are neither rewards nor punishments.
There are consequences.
my wallpaper gallery
mx-fluxbox, what else?
In nature there are neither rewards nor punishments.
There are consequences.
my wallpaper gallery