8 questions
I was studying Docker.I saw a code line that said exitcode=0 in the sh file.I'm not sure what exitcode=0 means. I would like to ask for url with a brief explanation or explanation of exit code. Thank ...
Writing shell scripts on Linux.First, the variable name contains the date.date=`/bin/date +%Y%m%d -d '1 day ago'`The date variable contains yesterday's date. Same as 20161026.Then find directories wit...
The title is weird because I don't know it well.The result depends on where the command written in the shell script runs the script.For example:#!/bin/shpwdScripts like this home p parent ch Child te...
Linux is trying to create a sh file and use it like a command.The function is to tar all the folders in the directory where I am currently located, including sub-files and folders.You need to compress...
Hello, I have a question about Django.Currently, you have run a shell script on the server with subprocess.run on views.py.Is there a way to print out the progress log of this shell script in real tim...
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...
About processes running in ubuntulinux 18.04 environmentWe are developing a program that checks the execution and termination status of the process and allows the process to be re-executed if it is te...
Chapter 7 in the book This Is Linux (by Woo Jae-nam) Learning Shell Script Programming Unit I had doubts.*set.sh* 1. #!/bin/sh 2. echo today's date is $(date). 3. set $(date) 4. echo today's day is $4...
© 2024 OneMinuteCode. All rights reserved.