10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus,
I have a txt file. some record missed 2nd colum value, I need put default value into the file.
ex: below file, first 4 records, missed one column (only 4 columns. it should be 5)
$cat missedfield
aaa,bbb,ccc,fff
aaa,bbb,ccc,ddd
111,222,333,444
111,222,333,444... (3 Replies)
Discussion started by: ken6503
3 Replies
2. Solaris
Hello all
I recently installed a fresh copy of Solaris.
I noticed that /etc/passwd does not contain an entry for sysadmin Group #14.
Why isnt it there? Other websites state that by default it should be there !
Help!
Regards,
Junaid
---------- Post updated at 01:04 AM ----------... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
3. Red Hat
Hi,
I have recently built a new DNS server and created a new zone.
I use an ESMTP server to handle mail and the new domain has been added to this.
I can send mail to gmail and other domain addresses but unable to send it to one particular domain. (DSN:Service Unavailable)
DNS... (2 Replies)
Discussion started by: Duffs22
2 Replies
4. Shell Programming and Scripting
i have a file with below contents
Mg_Message_count,1-Aug-12,46
Mg_Message_count,2-Aug-12,48
Mg_Message_count,3-Aug-12,48
Mg_Message_count,4-Aug-12,48
Mg_Message_count,5-Aug-12,48
Mg_Message_count,6-Aug-12,48
Mg_Message_count,7-Aug-12,42
Mg_Message_count,20-Aug-12,24... (10 Replies)
Discussion started by: rabindratech
10 Replies
5. Shell Programming and Scripting
hi
i am sending an email from unix to windows platform and using uuencode to attach the plain text files (.txt). But when i read the attached file in notepad the linebreaks are gone.
uuencode samplefile.txt samplefile.txt | mail -s "test email" <mailid.com>
if i copy paste the... (6 Replies)
Discussion started by: midhun19
6 Replies
6. Shell Programming and Scripting
how can i get the database name from a config file
its like this:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'userabc_wrdp1');
(there might be spaces in the front of "define")
i want to store... (0 Replies)
Discussion started by: vanessafan99
0 Replies
7. UNIX for Advanced & Expert Users
My whatis file is missing from my /usr/share/lib directory. I know I can recreate it by using catman -w command.
My question is, why do all of my other servers have it and this one doesn't. Maybe due to a recent move of old to new servers and it just wasn't copied over. Unlikely, 'cause all... (0 Replies)
Discussion started by: zixzix01
0 Replies
8. UNIX for Dummies Questions & Answers
mysql.sock file is missing in /opt/lampp/etc/ is there any backup file available in unix...
since without that file .. project is not opening..
reply me as soon as possible ... (19 Replies)
Discussion started by: senkerth
19 Replies
9. Shell Programming and Scripting
Hi!
I have a need to do this in Perl.
script.pl -config file
The script would be doing a wget/LWP on a URL which is defined in the config file.
So when I run the script it should return either one of these conditions -
1) OK with exit status 0.
Should also print "wget URL"
2)... (6 Replies)
Discussion started by: jacki
6 Replies
10. Shell Programming and Scripting
ladies, gents..
say i have a file that should have 10 fields... (9 delimiters)
some records have 10 fields, some have 5 some have 8, etc.. nothing consistent, but i need my file to have 9 delimiters on each line, even if its null fields..
how can i go line by line and add the correct... (2 Replies)
Discussion started by: obarrett
2 Replies