4
Switch User in within a Shell Scriptview story

http://www.unix.com – Hi Experts, I'm trying to write a shell script to stop few things where i have to use another user to execute a command. Otherwise it will not work. Your help is really appreciated Thanks, (HowTos)

4
Using alias in scriptview story

http://www.unix.com – Hi all, Could any one tell me how to use aliases in a script i have a large command which launches an application. I want to use alias in the script because i call the application many time in the shell script. Thanks Firestar. (HowTos)

4
[ubuntu] Switching proxy using shell scriptview story

http://ubuntuforums.org – Hi, can you please advise me how to do this? Hi, Is it possible to manipulate the selection of network proxy through shell script? to How to change the selection of "Default" to "Something" through shell script? What I am trying to say is, I have created a new location called "Something" with HTTP Proxy as proxy and port as 8080. (HowTos)

4
ssh wrinkle in backup scriptview story

http://www.linuxquestions.org – I came up with a shell script that I intend to use to shutdown my list of xen machines, back them up via rsync, then start them back up again. I have the virtual machines running on two physical machines. The first part of the script turned out ok.. Tinkster gave an excellent tip to help this going yesterday. (HowTos)

4
Software Raid1 problemsview story

http://www.linuxquestions.org – Well I guess I'm back with new questions! I "almost" successfully implemented a RAID1 setup in my server using a VERY good website https://raid.wiki.kernel.org/index.p...ID_Boot_Recipe Basically, I had a working system on a SATA HDD but the drive died. I transferred (using dd) all data to a new HDD, and got an identical HDD for RAID1. (HowTos)

4
Parse file from 2nd line in shell scriptview story

http://www.unix.com – Hi, I need to parse input file from 2nd line. Input file contents are, Code: ABC123;20100913115432;2000000;NO; 04;AAA;09;DDD;601020304;AAAA;1;OPTA1;OPTA2;;; 04;BBB;09;BBB;601020304;BBBB;0;OPTB1;OPTB2;OPTB3;OPTB4;OPTB5; 04;CCC;09;DDD;601020304;CCCC;1;;;;; For each line, 1] I need to check number of fields should be 12 and check 7th field value. Code: fields=$(IFS=\;; set -- $line; echo $#) (HowTos)

4
Symbolic links in UNIXview story

http://www.unix.com – Hi, I have a file with more than 1 layers of soft links for it. For ex. Code: ls -la .profile .profile@ -> /home/act/.profile_abc ls -la /home/act/.profile_abc@ -> .profile_final I want to get the name of the last file (i.e. .profile_final) when I refer to .profile using shell script. I could not find any option available to get this. Any help would be appreciated. (HowTos)

4
Automated logon within shell scriptsview story

http://www.unix.com – Hi All, I have created a server health checkup for 22 diferent ips and want to run my script from a single host server -->conduct health chekup on various servers--> Capture the deviations--> Get back all the deviations to the host server where the script was initiated. Ive checkd out ssh keygen but was not clear of the process and to my dismay i dont have the root password. (HowTos)

4
WLM inheritanceview story

http://www.unix.com – Is none of you using WLM? A search gives no matches.... Anyway, I have set up a class with inheritance = yes. In the rules characteristics I have chosen a shell script as an application. This script is caught by the class, but not the child processes, which have the PID of the script as the parent PID. Any ideas? TIA. (HowTos)

4
help with a shell script that greps an error from the logsview story

http://www.unix.com – Hello everyone. I wrote the following script but the second part is not excecuting. (HowTos)