cost 297 ms
Replacing characters in a sh script

I am writing an sh script and need to replace the . and - with a _ Current: Wanted: I have used a few mv commands, but I am having trouble. ...

2023-02-01 19:40:33   1   26    linux / sh  
Insert from SQL shell script

Good evening I am trying to insert data from one table to another in my script and it comes up with database not found - have I done something wrong? ...

Import of SQL Dump

From the below extract of data I am trying to view out only the items in bold, is there a way to do this? The specific section of the file of this is ...

sql dump automatic change

I'm looking to automatically change an sql dump (without needing to know the original db name) - so if the SQL Dump says for example... I want it t ...

2023-01-28 20:42:21   1   37    bash / shell / sh  
Pass commands using sed

I am using some commands as runcmd as user data: I would like to add sendmail: ALL to etc/hosts.allow and send the email with the subject line. Ho ...

2023-01-19 14:59:14   1   36    shell / sh  

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM