417 questions
import subprocesssubprocess.run(['ls' , '-al'], shell = true)I'm working on turning other external programs in Python using subprocess.The external program I want to run is a device simulation program...
I want to change the cycle setting of crontab or executable setting flexibly using pythonIs it possible?
There is a closed network server that can be accessed only by VPN. I'm using the Linux (Ubuntu) OS.Python 3.5.2 is installed, but there is no pip installedYou cannot use commands such as piplist.I wan...
Like you said, you can use Windows CMD or other toolsCan I check the IP information that I am trying to access with my server IP?Orcurl [My address]Is there a command for me to know where the signal i...
After automatically downloading a file in the format img_%03d.jpg from a web server called http://www.test.org/download/, use md5 to obtain a hashimg_001.jpg: hash valueimg_002.jpg : hash value...I'm ...
When the file capacity is percent_val and a specific capacity criterion is limit, the command to find and output all files whose percent_val is limit or higher is find ./* -size $percent_val >= $li...
$ sudo crontab -l37 * * * * source /home/jmkim/dms-bi/bi_venv/bin/activate && python /home/jmkim/dms-bi/run.py >> /home/jmkim/test.log 2>&1I registered it on crontab.However, the ...
Oct 8 21:40:19 cent sshd[1478]: Failed password for user1 from 10.211.55.21 port 53655 ssh2Extract only IP from there and the result is 3 10.211.55.18I want the numbers to come out in the front and th...
It is the condition of the if statement to check leap year.if[ ((${year}%4 -eq 0 ) && (${year}%100 -ne 0 )) || (${year}%400 -eq 0) ]then ... fiThe conditions I put in are, Once every four year...
I installed Python3 on CentOS 7 installed on a closed network server and imported it to use Pandas. ModuleNotFoundError: No module named '_bz2'I'm getting this error...I heard that you can download th...
« | - 41 - | » |
© 2024 OneMinuteCode. All rights reserved.