10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
2. 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
3. Shell Programming and Scripting
there is a text file like this
text here
text here
text here
text here
USER=someusername here
text here
text here
text here
how can i extract the someusername from this file which has a path like /home/myfile.txt?
i want to store it in a variable $u (3 Replies)
Discussion started by: vanessafan99
3 Replies
4. Shell Programming and Scripting
Possible to get this? Thanks (2 Replies)
Discussion started by: stevensw
2 Replies
5. Shell Programming and Scripting
Hi,
I need to extract the subject of an e-mail sent using mailx. mailx is in a a file and the command reads like the following
Ex: sendMail.sh
mailx -s ' This is the subject' $recepiant
note that anything can come within ' ' which goes to the subject.
Please help (5 Replies)
Discussion started by: mwrg
5 Replies
6. Shell Programming and Scripting
I've read the following post here and I get no output from the command. I've tried changing the '$3' to $5, 7, 10...and still nothing. Ultimately what I'd like to is determine who owns the file and rename it to file_name_$USERNAME.
$ uname -a
SunOS sun001 5.10 Generic_118833-33 sun4u sparc... (3 Replies)
Discussion started by: nadeemsm
3 Replies
7. Shell Programming and Scripting
Hi,
I need to a shell script to list out only the username in the /etc/passwd file.
Regards
Siva (7 Replies)
Discussion started by: gsiva
7 Replies
8. Shell Programming and Scripting
Hi ! All
I want to write a script where, it will open a new shell with a
username / pwd and modify a file of same username and exit.
example:
1. UserA
2. UserB- FileB
ScriptA -> su UserB -> Modify FileB -> Exit ScriptA
Can somebody give me a direction , on how to... (2 Replies)
Discussion started by: dashok.83
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have a file FSGReport.info which reads as
export username=abc
export password= 1333
Now I have another FTP script file FTP.sh in which I need to access the username and password stored in the file FSGReport.info . How can I access this file and get the username and password. Please... (1 Reply)
Discussion started by: vnatarajan
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Could someone help me with 'Extract or save attachment of email using mailx'
Thanks,
Vijay ;) (1 Reply)
Discussion started by: kandati
1 Replies