F5F Stay Refreshed Software Operating Systems Modify a linux command

Modify a linux command

Modify a linux command

Pages (2): Previous 1 2
E
ErenKartal
Member
161
07-26-2023, 08:50 AM
#11
I believe the setup is sufficient because systemd initializes services in parallel, so most should launch together and cease collectively—delays between stopping this service and others should be negligible. Many bigger services rely on others to begin, making a standalone service ideal for early startup. I’m not familiar with a straightforward method to guarantee it starts first without altering dependencies for all other services, unless absolutely required. Since it performs minimal work, I expect it to begin and end quickly, likely faster than the time it takes for your screen to refresh.
E
ErenKartal
07-26-2023, 08:50 AM #11

I believe the setup is sufficient because systemd initializes services in parallel, so most should launch together and cease collectively—delays between stopping this service and others should be negligible. Many bigger services rely on others to begin, making a standalone service ideal for early startup. I’m not familiar with a straightforward method to guarantee it starts first without altering dependencies for all other services, unless absolutely required. Since it performs minimal work, I expect it to begin and end quickly, likely faster than the time it takes for your screen to refresh.

P
PRO__PVP
Member
64
07-26-2023, 01:15 PM
#12
Thank you for your feedback. I'll proceed with the test now. It looks quite promising!
P
PRO__PVP
07-26-2023, 01:15 PM #12

Thank you for your feedback. I'll proceed with the test now. It looks quite promising!

C
Claire8
Junior Member
14
08-02-2023, 04:42 AM
#13
You can craft a bash file matching your program's name and set its export path before others. This approach runs your script instead of the actual application, though it won't introduce new functionality unless you rewrite everything in the script.
C
Claire8
08-02-2023, 04:42 AM #13

You can craft a bash file matching your program's name and set its export path before others. This approach runs your script instead of the actual application, though it won't introduce new functionality unless you rewrite everything in the script.

Z
zLeoZiin
Senior Member
503
08-09-2023, 11:08 PM
#14
I understand. The alternative approaches seem better suited for your goals.
Z
zLeoZiin
08-09-2023, 11:08 PM #14

I understand. The alternative approaches seem better suited for your goals.

S
superzoefer
Junior Member
24
08-10-2023, 05:16 AM
#15
This choice carries some risk as it alters how a Linux command functions, potentially affecting other scripts you rely on. Modifying program behavior can lead to inconsistencies. Fortunately, most shells offer an alias feature. For example, setting `alias ls="ls -C"` changes the interactive command, while scripts continue using their standard behavior.
S
superzoefer
08-10-2023, 05:16 AM #15

This choice carries some risk as it alters how a Linux command functions, potentially affecting other scripts you rely on. Modifying program behavior can lead to inconsistencies. Fortunately, most shells offer an alias feature. For example, setting `alias ls="ls -C"` changes the interactive command, while scripts continue using their standard behavior.

Pages (2): Previous 1 2