Few queries regarding awk...view story

http://www.unix.com – One of the command output is as below. Code: -rw-r--r--+ 1 root root 75G Nov 21 16:43 /var/ovs/mount/86BXXX/running_pool/Machine1/System-sda.img -rw-r--r--+ 1 root root 75G Nov 21 16:36 /var/ovs/mount/86BXXX/running_pool/Machine2/System.img -rw-r--r--+ 1 root root 150G Sep 23 19:13 /var/ovs/mount/86BXXX/running_pool/Machine3/System-hda.img How would i filter it to get output like this. (HowTos)

Replacing Awk with One-liner Perlview story

http://www.unix.com – can someone help me translate the following command, from: Code: /usr/bin/awk "/^$TOFDAYM  $TOFDAYD /,0" $LOGFILE to something like Code: perl -e ..... basically, i want to use perl to do awk functions within a shell script. i want to do the above awk, using perl. any suggestions? (HowTos)

mc is slow to start upview story

https://bbs.archlinux.org – Sorry for leaving long.@bohoomilInvoking mc in bash --noprofile makes no change.@AshrenI tried strace and found where mc stops with user and not with root. (HowTos)

aggr not persistent after a rebootview story

http://www.unix.com – All, I hope someone can help me on my problem with an aggregate, as I am a Solaris noob. I tried doing this according to the official documentation from Oracle (unfortunately, as a new user to the forum, I may not post URLs...) and also googled a lot around, but have not found any solution yet. I am in the process of building a Solaris NAS system. (HowTos)

[SOLVED] Mac OSX scrolling on crunchbangview story

http://crunchbanglinux.org – Hello, i want to ask,is that posible to have reverse scrolling (horisontal and vertically) in crunchbang? (HowTos)

piping a password and securityview story

http://serverfault.com – I sometimes do echo "secret" | mysql -u root -p .... Now I'm concerend about security here: can someone listing all processes see the password? To check I tried with echo "test" | sleep 1000 and the echo command with the secret was not visible in the output of "ps aux". So I assume it's secure - but can a security expert confirm it please? :) (HowTos)

What does ` (backquote/backtick) mean in bash?view story

http://unix.stackexchange.com – I came across the following command sudo chown `id -u` /somedir And I wonder what is the meaning of the ` symbol. I noticed for instance that while the command above works well the one below does not sudo chown 'id -u' /somedir (HowTos)

How to write this ucarp config as a command?view story

http://serverfault.com – Because of a bug in Ubuntu 11.10 it is not possible to bridge NIC's as of this writing, so I assume that I have to bridge and setup ucarp in /etc/rc.local. I can bridge eth0 just fine with ifconfig eth0:1 netmask broadcast so I have to convert the rest of the ucarp config from /etc/network/interfaces which is # used for ssh auto eth0 iface eth0 inet stati (HowTos)

How to create a script that will email once there is an error?view story

http://www.unix.com – Hi Guys, Good day ULF! Can you assist me in creating a script that will email once an error has occurred. It's like this, I have script that is used for monitoring, distinct keywords on the status are OK and Error respectively. Then I created another script that will call for the monitoring script to run so that the new script will save an output into a file. (HowTos)

Replace special charactersview story

http://www.unix.com – I have a line ending with special character and 0 The special character is the field separator for this line in VI mode the file will look like below, but while cat the special character wont display i know the hexa code for the special character ^_ is \x1f and ascii code is \0037, Code: 000^_^_^_^_^_^_0.000000^_^_^_^_^_^_^_^_^_^_^_^_0^_0.000000^_^_^_^_0^_0^_^_^_0 I can fi (HowTos)