Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Oracle...
Script:
Conditional update
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
dbms_lob updating blob type
Shell scripting...
Script:
Debug shell program
A User Agent, like a web browser, uses HTTP to request a HTML document
Php Funzione mail()
In programming the danger of exploring the small details of coding is that you get obsessed with every line of code you write, thereby greatly reducing productivity.
In general, is not worth obsessing over code. On the other hand you should code with deliberation and intent. Steven Feurstein Oracle Magazine July /August 2004 A User Agent, like a web browser, uses HTTP to request a HTML document
|
Shell scripting
Home >Shell scripting > Cercare e visualizzare file per dimensione
Obiettivo Visualizzare, cercare file secondo dimensione in Linux con find e awk. Notare l'unitą di dimensione e le differenze maiuscolo/minuscolo: k, M, G Testato su Enterprise Linux / bin/bash. Per visualizare file pił grandi di data dimensione utilizzando find, per esempio pił grandi di 100 Kilobyte:
[oracle@fly83 udump]$
find . -type f -size +100k -exec ls -lh {} \;
-rw-r----- 1 oracle oinstall 287K May 25 10:50 ./billing3_ora_23688.trc -rw-r----- 1 oracle oinstall 242K May 24 09:37 ./billing3_ora_584.trc -rw-r----- 1 oracle oinstall 236K May 26 09:34 ./billing3_ora_12579.trc Visualizza i file pił grandi di 100 Kilobyte nella directory corrente definendo output concatenando con awk:
[oracle@cst01 udump]$
find . -type f -size +100k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Visualizza i file pił grandi di 10 Mega
./billing3_ora_25005.trc: 271K ./billing3_ora_9898.trc: 382K
[oracle@cst01 udump]$
find . -type f -size +10M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Visualizza i file pił grandi di 1 Giga./billing1_ora_21647.trc: 14M ./billing1_ora_15122.trc: 12M
[oracle@cst01 udump]$
find . -type f -size +1G -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
./billing3_ora_4783.trc: 1.5G ./billing3_ora_4781.trc: 1.7G Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CercaAnger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
Oracle...
Definizioni:
Transazione
Shell scripting...
Script:
Hide user input on screen
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |