Test if remote TCP port is open from a shell script
I’m looking for a quick and simple method for properly testing if a given TCP port is open on a remote server, from … Read more
I’m looking for a quick and simple method for properly testing if a given TCP port is open on a remote server, from … Read more
I have recently started studying shell script and I’d like to be able to comment out a set of lines in a shell … Read more
$ ls *mp3 | xargs mplayer Playing Lemon. File not found: ‘Lemon’ Playing Tree.mp3. File not found: ‘Tree.mp3’ Exiting… (End of file) My … Read more
This question already has answers here: Test whether a glob has any matches in Bash (21 answers) Closed 3 years ago. I’m trying … Read more
I found this piece of code in /etc/cron.daily/apf #!/bin/bash /etc/apf/apf -f >> /dev/null 2>&1 /etc/apf/apf -s >> /dev/null 2>&1 It’s flushing and reloading … Read more
How to set up tmux so that it starts up with specified windows opened? 22 Answers 22
I was trying to get a list of all python and html files in a directory with the command find Documents -name “*.{py,html}”. … Read more
I have a file that has around million lines. I need to go to line number 320123 to check the data. How do … Read more
Is there any way to start an interactive shell in a container using Docker Compose only? I’ve tried something like this, in my … Read more
I would like to use cURL to not only send data parameters in HTTP POST but to also upload files with specific form … Read more