troubleshooting Question

How to pause a command in Linux 6.2

Avatar of sliderwing
sliderwing asked on
LinuxLinux Distributions
24 Comments4 Solutions351 ViewsLast Modified:
My problem is that I have a particular user that is autologining to the system and when the account logins two command needs to be executed. One is xinit the other is start. Both commands work ok in a script if you run them seperately, but when you run them together once xinit finishes executing it does not execute the other command. Is there a while loop or something that I need to insert after xinit to give the command time to finish before the next command is executed?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 4 Answers and 24 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 24 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros