- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
Re: You can use bash infinite loops with the while loop like while true; do echo "test"; sleep 60; done | |
Re: 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. | |
Re: 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 | |
Re: You can use the -version parameter for the java command like below. java -version Reference: https://www.poftut.com/check-java-version/ | |
Re: You can use the cut command which will select the specified column. $cat /etc/passwd | cut -d : -f 1 Reference:https://www.poftut.com/list-users-groups-linux/ | |
Re: It is easy as just use the following command. For more details take a look https://www.poftut.com/list-repository-packages-yum-command/ | |
Re: You can use the shutdown command + option like below. $ sudo shutdown -h +3 | |
Re: It is very easy just put the script file path after the ssh command like below. ssh ismail@192.168.142.144 'bash -s' < cat myscript.sh | |
Re: 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) |
The End.