Substitute keyword in html address
I have data that looks like the below: Code: PXL-A0000005 DTE3504500000005 PXL-A0000007 DTE3504500000007 PXL-A0000014 DTE3504500000014 PXL-A0000015 DTE3504500000015 PXL-A0000016 DTE3504500000016 What I...
View ArticleCDE on AIX and vnc,nothing works
On other unix systems,simply set "dtsession" on .xstartup file of vnc start the cde session. On aix i have this problem when i start the session,appear only an error message Code: The DT messaging...
View ArticleCrontab not processing parameters sent to script.
Hello All, I'm running Debian on a ThinkPad X1/2G and all seems to be running well. However, it's got a SSD that needs the trim command run at regular intervals. I'm implementing this using cron and a...
View ArticleNeed Linux equivalent for UNIX
I have a folder called "log" which has a few sub-folders say "fda" "fd7" "fdd" "fd6 .... " I wish to fire the below command inside each subfolder starting with the folder with the latest time stamp....
View ArticleRemove double char occurences
I have a file with random characters where every time a char occurs twice, one occurrence must be removed. Eg. Code: asjkdhaSSd Must become: Code: asjkdhaSd Anybody has a SED script in mind to do it?
View ArticleDisk is present but not active
hello, I have an issue with my aix box. the power went down. I got the box back up and can log into it. the datavg drives are not showing as active. How do i make them active. let me know if you need...
View ArticleShell script error
I have wrriten a shell script and getting a below error. Code: ps -ef | grep "Exp" | mailx -s " Instance Currently Running Before Stop" abi@pepsi.com mailx -s "webshell instance will be stopped now"...
View ArticleUnable to set Global variable outside while loop
Below is my code: Code: count=0 if ... ... else ... find * -prune -type d | sort -r -n | while read d; do count=1  if [ "$count" == "1" ]; then  echo "Count1:$count"  ...  ...  break 2;  fi ... done...
View ArticleSorting in groups
Hi, I am looking at a slightly different sorting problem and I am not sure how to do it in bash. I have the following input: Code: 0...
View ArticleAIX backup solutions
Currently I am backing up AIX to tape. I would like to setup a back that goes to another server either windows or linux that we already backup and send offsite automatically. Is this possible? Thanks
View ArticleRemove or rename based on contents of file
I am trying to use the two files shown below to either remove or rename contents in one of those files. If in file1.txt $5 matches $5 of file2.txt and the value in $1 of file1.txt is not "No Match"...
View ArticleNeed shell script to Telnet multiple node , Ping some IP and print output
Hi Team, Need shell script to Telnet multiple node , Ping some IP and print output like pass or fail. Need this script to check reachability of multiple nodes at same time. Help me. I use this but not...
View ArticleHELP : awk substr
Hi, - In a file test.wmi Code: Col1 | firstName | lastName 4003 | toto_titi_CT- | otot_itit - I want to have only ( colones $7,$13 and $15) with code 4003 and 4002 . for colone $13 I want to have the...
View ArticleHELP awk
Hi, 1- I have a log file : sample Code: EventCode|EventIdentifier|EventType|Logfile|Message|RecordNumber|SourceName 100|100|3|Application|ID=7974682 EventID=4003 | Event Trigger=Job Finished OK |...
View ArticleUnable to incorporate a command in my Script
Hi, I need to execute the below command in a shell script grep -l '13 22' check*.log | wc -l Output : 6 I wrote a sheel script like below: Code: more test.sh pid=13 tid=22 file=check result=$(grep -l...
View ArticleCtrl-C untrap?
Hi guys... I know how to trap Ctrl-C, that is easy and I have even done it obfuscated... However once the trapping is enbaled how can the trapped Ctrl-C be returned to normal again? Google is not my...
View ArticleHelp with UNIX
Dear forum members, I'm a student of general linguistics and took additionally computational linguistics this semester. Now I'm getting more and more desperate because I'm unable to solve any of the...
View ArticleDate fromat from Jan 01 2015 11:00:00 PM to 01/01/2015 23.00.00
I need to change Date and time stamp format from Jan 01 2015 11:00:00 PM to 01/01/2015 23.00.00 Existing Format : Mon DD YYYY hh:mi:ss AM/PM ( Jan 01 2015 11:00:00 PM ) Expected Format: MM/DD/YYYY...
View ArticleBad system call (core dumped) Solaris 11.2 (installation of Sybase 12.5.4)
Dear all, I am trying to install Sybase ASE 12.5.4 on a Sun OS Solaris 11.2 (sparcv9) machine but I am getting the following messages when launching the setup file : Code: -bash-4.1$ ./setup...
View ArticleSolaris VM "break" signal
Hi All How would you send a solaris virtual machine in vmware esx, a break signal?
View Article