similar to: awk help

Displaying 20 results from an estimated 60000 matches similar to: "awk help"

2007 Nov 15
2
how can I use awk to match? pls help
Hi all I don't have idea how to write this script, please help I have thousand records in this format. eg: file No.3 is File No: 003 Customer: Ann Email address: xxx at info Country: England Created by: 20071102 file No. 4 is: File No: 004 Customer: James Email address: xxx at gov Country: Australia Created by: 20071105 I need to write a
2008 Oct 17
3
reuse the history
Hi all I want to reuse command in the shell historys Which command I can only select "traceroute 192.168.0.5" to run? $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 eg: history |grep traceroute | awk '{ print$2 " " print$3}' | grep
2011 Feb 15
4
DRBD question
Hi Anyone experienced in DRBD ls it good in using mysql redundant? What is it best to use? Thank you
2010 Dec 03
4
networking printer
Hi all I would like to ask linux can do the networking printer as window Share it to office environment If yes, any brand name and concern Any documentation also Thank you so much
2010 Jan 01
3
which program/command (perl, vi, or sed) is better
Hi I have apache log file around 7.6G and record half year Which program/command (perl, vi, or sed) is better to extract the data by date? and finally I can remove that big file and still keep the record. I have problem when using vi and it uses up the server memory Thank you for your help __________________________________________________________________ Get a sneak peak at messages
2010 Mar 06
1
Define an alias with an embeded awk command error ?
Hi, guys: I'm trying to define an alias in .cshrc with the embeded awk command, like this : alias checketh0 "ip add ls eth0 |awk '/inet/{print $2}' |sed -n '1p' " Then i run "source ~/.cshrc" and run "checketh0" command in the terminal , but the result is the following : " inet 192.168.18.18/24 brd 192.168.18.255 scope global
2010 May 06
3
ssh slow
Hi How I can configure sshd_config to improve the ssh faster? It is slow to prompt the login Thank you
2010 May 06
2
phpmyadmin
Hi all When someone uses the phpmyadmin to delete data, how can I know it Does it have log? Thank you
2015 Jun 08
2
help awk y shells en R
Al final resulto más fácil de lo esperado. Hay que instalar cywin y utilizar los comandos de la siguiente manera system('C:/cygwin/bin/wc -l var_risco_2012.csv') Esto en principio funciona El 8 de junio de 2015, 17:41, Carlos Ortega <cof en qualityexcellence.es> escribió: > Hola, > > Mira esto: > >
2019 Mar 26
3
Problem achieving manual synchronisation of idmap.ldb and the associated User and Group ID mappings between two Samba 4 AD DCs
Cheers Louis, i just ran the diagnostic snippet you sent me: pi at ad1:/var/lib/samba/private $ sudo ls -al $(samba -b | grep STATEDIR | awk {' print $NF '})/sysvol total 20 drwxrwx---+ 3 root 3000000 4096 Mar 25 16:36 . drwxr-xr-x  8 root root    4096 Mar 25 17:31 .. drwxrwx---+ 4 root 3000000 4096 Mar 25 16:36 samdom.example.com pi at ad2:/var/lib/samba/private $ sudo ls -al $(samba
2009 Jan 27
3
network question
Hi How can I clear the arp cache? and ls it possible to setup 2 gateways in centos Thank you for your help
2015 Jun 08
2
help awk y shells en R
Hola buenas, a veces empleo desde R shells de unix, Existe alguna manera de utilizar estos shelss desde windows o el lenguaje awk. La idea es hacerlo siempre desde R, igual invoncando cygwin desde windows es posible. Pero no me queda claro Un abrazo y gracias por adelntado Javier #_____________________________________________________________________ # EJEMPLO, ¿Que habría que poner en #
2012 Dec 06
2
awk awk
a little out of my comfort zone and have practically gotten what I want but awk seems determined to send a message via std error which is problematic and annoying. Basically trying to get a list of virtual host names from nginx config files like this: $ awk -F" " '/./ { if ( match ( "^server_name$", $2 ) ) print $1 }' /opt/nginx/sites/*.conf \ | grep -v server_name |
2019 Oct 31
1
[PATCH] Replace mkproto.pl with mkproto.awk
> I can't speak for rsync, but nowadays Perl isn't that rare, that a > dependeny on it for build purpose would matter. IMHO. It might not be rare, but it's certainly less universally available than awk, which is preinstalled on pretty much every unix-like OS out there. > There are many flavours of AWK. Are you sure, that your AWK replacement > runs everwhere? I tested
2009 Jan 14
6
hardware info
Hi How can I know the hardware info eg: type of memory No need to turn off the machine Thank you
2007 Oct 26
6
script help
Hi I am sure the answer here is really easy but i am stuck! # mount | grep data | awk '{print$1,$2,$3}' gives me the info i require locally, however i need to execute this over about 1000 hosts so i run things remotely using ssh something like # MOUNTER=`ssh $i 'mount | grep data | awk '{print$1,$2,$3}''` however this fails as at the end of the line there are 2 ticks
2019 Oct 31
5
[PATCH] Replace mkproto.pl with mkproto.awk
This replaces the build dependency on perl with one on awk which is already used in the build system and is much more ubiquitous than perl --- Makefile.in | 2 +- mkproto.awk | 39 +++++++++++++++++++++++++++++++++++++++ mkproto.pl | 48 ------------------------------------------------ 3 files changed, 40 insertions(+), 49 deletions(-) create mode 100644 mkproto.awk delete mode 100644
2007 Jun 13
3
Awk and Vilno
In clinical trial data preparation and many other data situations, the statistical programmer needs to merge and re-merge multiple input files countless times. A syntax for merging files that is clear and concise is very important for the statistical programmer's productivity. Here is how Vilno does it: inlist dataset1 dataset2 dataset3 ; joinby variable1 variable2 where ( var3<=var4 ) ;
2014 Sep 13
2
C5 : Deleting un-deletable files ?
During a routine trawl through the ext3 files, I found some astronomical file sizes, billions and billions of GB. They also has strange user and group names. I can not delete these "weird files" (the term used by the operating system utilities). Here are a few examples. The original files were created on Windoze 98 version 2 circa 2001. > 2411957 p--x---rwx 65487 299196551
2008 Jun 23
2
Awk help
I have csvde dump from active directory I process on my postfix mta. It takes output like this: "CN=Curtis xxx,OU=Domain Users,OU=xxx xxx,DC=xxx-xxx,DC=local",X400:c=US\;a= \;p=xxx xxx xxx\;o=Exchange\;s=xxx\;g=xxx\;;SMTP:Cxxx at xxx-xxx.com and should return a relay_recipient map in the form of: Cxxx at xxx-xxx.com OK The command I am using is: cat $1 | tr -d \" | tr , \\n|