9
Vim not colouring the end of lines when run inside screenview story

http://superuser.com – When vim is started inside of gnu screen it does not colour the background after text. Screen looks like it should be setup for handling 256 colours correctly: $ screen $ tput colors 256 $ echo $term xterm-256colors OS & Shell I am using: $ cat /etc/redhat-release Red Hat Enterprise Linux WS release 4 (Nahant Update 9) $echo $shell /bin/tcsh The Colour test looks like it is working o (HowTos)

9
Running vi from within haskell program (dealing with ptys)view story

http://stackoverflow.com – I'm trying to write a logging shell; e.g. one that captures data about commands that are being run in a structured format. To do this, I'm using readline to read in commands and then executing them in a subshell whilst capturing things such as the time taken, the environment, the exit status and so on. So far so good. (HowTos)

9
Unable To access array in awkview story

http://www.unix.com – Hi, i have the following code in which i am passing array tldn in awk using -v option & despite of that condition is not getting matched,can somebody suggest how to handle shell arrays in awk Code: tcount=(9875 9667) awk -F"\t" -v ltldn="${tldn[*]}" 'NR==FNR {POSTPAIDMDNS[$1]=$2"|"$3;next}                 func (HowTos)

9
Help with shell scriptview story

http://www.unix.com – Hi all, I want to replace a pattern in between two lines with another pattern.I tried this using perl script.But i wanted to try this using shell script.I should include this in a script which already exists and try accessing web.xml. file name:web.xml Code: <security-constraint>       <web-resource-collection>         <web-resource-n (HowTos)

9
Passwordless Authentication and Anonymous loginview story

http://www.unix.com – Hi, I am in the process FTPing some of my report files from my production server to another FTP server through batch/Shell Script. This is working fine with the password less authentication. Once i place all my report files in the ftp server the end users need to download files from ther which is prompting for the user name/password of the FTP Server. Can anyone please help me (HowTos)

9
SecureCRT 7.2.0 Officially Releasedview story

http://news.softpedia.com – Maureen Jett, a product director from VanDyke Software, has announced that SecureCRT 7.2.0 is now available for Linux, for both Ubuntu and Red Hat Enterprise Linux OSes. SecureCRT 7.2 provides terminal emulation for computing professionals, raising productivity with advanced session management, and a host of ways to save time and streamline repetitive tasks. “SecureCRT 7.2 adds the ability (IT news)

9
SteamOS GNOME Screenshot Tourview story

http://news.softpedia.com – At our users' request, we’ve decided to create a quick screenshot tour of the brand new SteamOS Linux operating system from Valve, showcasing the GNOME 3 desktop environment used in the regular desktop mode. (IT news)

9
Start Terminator via shell script in broadcast modeview story

http://superuser.com – I currently use a small script to start a terminator window as a background process which has multiple splits specified with a layout. terminator --layout=My_layout & I want to execute a command to connect to a remote server in all the splits. When I use this, terminator --layout=My_layout -x command_to_connect arg1 arg2 & only the 1st window is connected. (HowTos)

9
How to check solr server restarted sucessfully or not?view story

http://stackoverflow.com – I am writing an automate script, where I am restarting solr servers one by one. (HowTos)

9
Check the status code of a scp command and if it is failed, then call scp on another machineview story

http://stackoverflow.com – Below is my snippet of shell script in which I am executing scp command to copy the files from machineB to machineA. for element in ${x[$key]}; do # no quotes here printf "%s\t%s\n" "$key" "$element" if [ $key -eq 0 ] then scp david@machineB:/data/be_t1_snapshot/20131215/t1_$element_5.data /data01/primary/. fi done I have a very simple question which is mentioned b (HowTos)