ux tag

417 questions


1 answers
71 views
0
How to run subprocess from Linux os to Python

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...

2 years ago

1 answers
114 views
0
Is there a way to add crontab in Python language in Ubuntu environment?

I want to change the cycle setting of crontab or executable setting flexibly using pythonIs it possible?

2 years ago

1 answers
81 views
0
Is there a way to install Python's pip in the closed network?

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...


1 answers
146 views
0
Can I know the IP or domain that is trying to access my server now?

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...

2 years ago

1 answers
39 views
0
Save files and save file hash values using Linux curl

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 ...

2 years ago

1 answers
39 views
0
Find Linux specific capacity files

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...

2 years ago

1 answers
67 views
0
When crontab execution is not normal on Ubuntu

$ 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 ...

2 years ago

1 answers
43 views
0
Extract specific parts of Linux reverse references

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...

2 years ago

1 answers
123 views
0
Shell Script if Statement Conditions

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...

2 years ago

1 answers
58 views
0
How to install rpm package on closed network Centos 7?

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...

2 years ago
« - 41 - »

© 2024 OneMinuteCode. All rights reserved.