Posts by Kleudy Silva • 101 points
4 posts
-
1
votes2
answers715
viewsA: With limit Select output on Oracle
That should solve your case: SELECT Lin. * FROM (SELECT DISTINCT o.STORAGE_TYPE, COUNT(o. QUANTITY) as qtd_materials, rownum as lines FROM mopsao.vw_monitoring@MOPSAO m INNER JOIN V…
-
0
votes0
answers43
viewsQ: While and if : Change the while and if checks to varieveis
I am creating a script for automation of a process, but in the script I have to read a directory and insert the content (filename) in a text file and in the while read each line to process the…
-
4
votes1
answer55
viewsA: How to scan a linux file based on creation time?
find /home/pasta_alvo -type f -mtime +7 1 - find /home/pasta_alvo -type f (to locate the files) 2 - -mtime +7 (7 days of his creation) If you want, you can delete these files: find /home/pasta_alvo…
-
2
votes1
answer42
viewsA: Replacing URL within multiple txt file with Linux terminal
1 - View the contents of the files cat site.txt https://www.meusite.com/diretorio cat site1.txt https://www.meusite.com/diretorio 2 - exchange text cat site.txt site1.txt | sed…