Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #31.8K
~3K People Reached
Favorite Forums

6 Posted Topics

Member Avatar for Gabriel9999

You can use bash infinite loops with the while loop like while true; do echo "test"; sleep 60; done

Member Avatar for carbattery
1
434
Member Avatar for Gabriel9999

There are a lot of ways to list services in a Linux or Ubuntu system. But If you also want to list services status "systemctl list-units" will work for your case perfectly.

Member Avatar for Mornigstar
1
2K
Member Avatar for Gabriel9999

No. You shouldn’t write a bash script. Just use the cp command bulk copy feature and provide all files you want to copy and add the path which is the destination. cp file1 file2 file3 /mnt/backup

Member Avatar for AndrisP
2
428
Member Avatar for Gabriel9999
Member Avatar for Dani
0
120
Member Avatar for Gabriel9999

It is very easy just put the script file path after the ssh command like below. ssh [email protected] 'bash -s' < cat myscript.sh

Member Avatar for samueltarcin999
0
166
Member Avatar for Gabriel9999

There are different functions and ways to match a word in PHP. Best way is using preg_match() function. In the following example we will search the forum word in the $bigtext content. preg_match('/forum/',$bigtext)

Member Avatar for samueltarcin999
0
223

The End.