Most awk print related news are at:
How to Backup Oracle Database using RMAN (with Examples) 27 Aug 2013 | 05:00 pm
Even if you are not an Oracle DBA, you’ll still encounter a situation where you may have to take a backup of an Oracle database. Using Oracle RMAN, you can take a hot backup for your database, which w...
How to Enable SSH on Cisco Switch, Router and ASA 22 Aug 2013 | 05:00 pm
Q: I have a Cisco switch in my network, which I can access by hooking up a console cable directly to the device. I like to access the switch remotely using SSH. How can I enable ssh on my Cisco 3750 C...
More awk print related news:
Remove frozen, nobody emails ukwebhostblog.com 27 Mar 2012 | 02:56 pm
UK-Fully Managed Web Hosting Command to remove frozen emails from the server. exim -bpr | grep frozen | awk {‘print $3′} | xargs exim -Mrm exiqgrep -zi|awk {‘print $3′}|xargs exim -Mrm Command to ...
批量关闭tomcat jarorwar.com 3 May 2012 | 09:31 pm
#!/bin/sh #kill tomcat pid pidlist=`ps -ef|grep tomcat | grep -v “grep”|awk ‘{print $2}’` #ps -u $USER|grep “java”|grep -v “grep” echo “tomcat Id list :$pidlist” if [ "$pidlist" = "" ] then echo “no t...
Kurztipp: Mit Bash neuste Datei(en) in einem Verzeichnis finden weareroot.de 1 Apr 2011 | 02:52 am
In meinem Fall möchte ich den aktuellsten MySQL-Dump ermitteln. ?View Code BASHls -tl /var/backups/mysql/*.sql.gz|head -n1|awk '{print $8}' Um z.B. die drei aktuellsten Dateien zu finden, verwendet ma...
Comando para buscar carpetas o ficheros mayores de un tamaño determinado bioinformatiquillo.wordpress.com 3 Mar 2012 | 05:55 am
Pues eso. Un comando vale más que mil palabras find . -type f -size +50000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ | less Tagged: Consola, Soluciones Ubuntu
Matar varios procesos con un mismo nombre abiertoylibre.blogspot.com 20 Jul 2010 | 08:02 am
Aquí os dejo una sencilla entrada pero que puede ser bastante útil, dos formas de matar todos los procesos que tengan el mismo nombre: kill -9 `ps -ef | grep -i nombreproceso | awk {'print $2'}` kil...
Как сконвертировать все таблицы БД в utf8 — MySQL? blog.sdenix.net 5 Sep 2012 | 09:38 am
mysql —database=database_name -B -N -e «SHOW TABLES» | awk ‘{print «ALTER TABLE», $1, «CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;»}’ | mysql —database=database_name
And for those of you using thingy-ma-jig.co.uk 13 Sep 2012 | 01:28 am
And for those of you using git - here's something that might help git status | grep "modified:" | awk '{print $3}' | xargs git add
linux 服务器监控常用命令 fushanlang.com 18 Oct 2012 | 08:16 pm
1.连接数监控 netstat -ant|wc -l netstat -ant|awk ‘{print $6}’|sort|uniq -c|sort -n netstat -anpo|grep php-cgi|wc -l 连接进程数 netstat -ant|grep 11111|wc -l 连接端口数 2.按顺序列出内存占用率的进程 ps -A –sort -rss -o c...
博客被人插了 zetng.com 7 Dec 2012 | 08:05 am
所有带有html标签的代码都被整上了一段代码,看得出来这是个愤怒的黑客所谓,也绝非针对我,但是我也很无辜啊,兄弟,叫我如何收场? 第一步、查看是否服务器被突破,分析登录日志 cat /var/log/auth.log|grep Accepted|grep -v grep|awk ‘{print $9, $11;}’ 只有几个常用的ip登录,应该是没问题的。 cat /var/log/auth.lo...
Linux 找出大文件汇总 gosoa.com.cn 16 Jan 2013 | 09:23 pm
Q. 如何在目录中找出所有大文件? A. 1) 句法 for RedHat / CentOS / Fedora Linux find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ 实例: 查找当前目录下大于50MB的文件 $ find . -typ...