8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My requirement is to search for current date-1 .log files in /usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs folder and write the file name to filenames.txt
When I ran the script below, I got error as syntax error near unexpected token `do
I'm not sure what is wrong in my code. I... (11 Replies)
Discussion started by: Ram Kumar_BE
11 Replies
2. Shell Programming and Scripting
Hi All,
I am new to scripting.
I have a requirement where I need to search for token present in array in a file. If the token is found I need to take the first column of that line from the file and append it to token and direct it to a new file.
e.g. token file
token.txt contains
abc... (2 Replies)
Discussion started by: alok2082
2 Replies
3. Emergency UNIX and Linux Support
My script below is supposed to log in to my vB account on any vB forum I'm registered on and retrieve + print my security token. However it seems to be hit and miss. The logging in works perfectly just will not retrieve and print the security token for every forum I log in to. Code Below:
... (3 Replies)
Discussion started by: AndrewTwain
3 Replies
4. Shell Programming and Scripting
I have a script which is supposed to log in to my vB account and print my security token, however doesn't seem to work globally. The logging in works perfectly just will not retrieve and print the security token for every forum I log in to. Code Below:
#!/usr/bin/perl
use LWP::UserAgent;
... (8 Replies)
Discussion started by: AndrewTwain
8 Replies
5. Shell Programming and Scripting
Hello all,
Im having an Issue with my script for switch statement , can someone let me know where do i need to correct it.
7 ##*******************************************************************************************************
8 ## ********** FUNCTION USAGE ***********
... (13 Replies)
Discussion started by: raghunsi
13 Replies
6. Shell Programming and Scripting
hi all,
is ksh, is there a way to split a line so it displays the output on seperate lines from a grep command ??
i have a script which greps for "responseTime" from log files but when i echo the output of the grep command it displays all occurances of the string all on one line which is... (4 Replies)
Discussion started by: cesarNZ
4 Replies
7. Shell Programming and Scripting
Hi anybody
kindly help me to overcome this error,
in my following UNIX script the value of substr is the Hour position in processing records, and I want to seperate only 00 to 09 records to a seperate file, when I run this script when it reaches to 08 hour containg record it gives me 08:... (4 Replies)
Discussion started by: HMS.Chandrasiri
4 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I have upgraded my old RedHat 6.2 box to RedHat 7.3. I had couple hundreds of users on that box so i just migrated all the user account to a new box by transfering home directories, and appending to /etc/passwd /etc/shadow /etc/group. I have preserved all permittions. Everything works... (8 Replies)
Discussion started by: solvman
8 Replies