Skip to content

Tag: ubuntu

xargs ignoring part of command after &&

I intend to get a comma separated list of files and then pass it as argument to a command using xargs. However it seems xargs ignores the part of command after &&. So, the command is interpreted as: python3 -m coverage combine python-bridge jenkins/build.jenkinsfile,jenkins/build-x.groovy, Expected: p…

Can anyone help me with this crontab?

We want to download the stock price of Tesla every day, using the package “quantmod” in R. We managed to write the function that downloads the last available stock and store it in a database in SQL: indeed, if we run the function manually, we can see the table with the stock price of today. Howeve…

sqlplus query + loop on linux

I have pratically 0 experience on unix and few on mysql and I am finding hard where to start to complete this task, I have to write a .sh file to launch once a day. I have a table on OracleDb where I have 2 columns I need: path and file_name. Once I get the results, I should loop through