↧
Answer by glenn jackman for How do i run su username -c "command " in a sequence
Why notsu username -c "cd /home/username/ ; git something.com; git something2.com; git something3.com"
View ArticleAnswer by BlizzardsGambit for How do i run su username -c "command " in a...
Add the waitcommand.su username -c "cd /home/username/ ; git something.com"; waitThis will tell the script to wait for the sub-process to finish.
View ArticleHow do i run su username -c "command " in a sequence
am trying to write a script that runs commands in a sequence as a user but su keeps doing every command at the same time instead of running them one after anotherthe script looks likesu username -c "cd...
View Article