10 More Discussions You Might Find Interesting
1. Linux
When i am issuing chage command, it reporting the output properly.
But when i redirect the output, i am not getting the output in the mentioned path.
chage -l root >> /tmp/chage.txt.
I need to use this into the script to capture the data. I think its seems to be bug with RHEL 6.3. Same... (3 Replies)
Discussion started by: Srini.rk1983
3 Replies
2. Shell Programming and Scripting
Hi All,
I want chage the date value YYMM to YYYYMM in my script.
I am trying, but not get it.
Eg: 1109 changed to 201109.
$(if ] then
echo "1"
else
echo "update_month<=$ARCHIVE_DT"
fi)
Through above i got "update_month<=1109" in else, but i must get it "update_month<=201109"
... (4 Replies)
Discussion started by: pdathu
4 Replies
3. Cybersecurity
Hello,
Running Debian lenny.
Is there any way to run $ chage --expiredate some_date user1
chage: Permission denied.
as not root user inside script ?
I really need to do this, I could grant whatever group membership to running user, setuid bit or whatever is needed ?
(I do not want to do... (4 Replies)
Discussion started by: vilius
4 Replies
4. Shell Programming and Scripting
Dear All,
Good day, can any of you help me in the following problem:
I need to find the perl equivalent for the following commandline
grep characters |awk '{print \$2}'Expecting your reply and thanks in advance.
Warm regards
Fredrick. (4 Replies)
Discussion started by: Fredrick
4 Replies
5. Linux
I moved to a Linux system from Windows a few months ago. Most of the programs I had been using were already native to Linux (Firefox, the GIMP, Pari, etc.) and most others I found a close enough program (Crimson Editor -> gedit, Visual Studio -> KDevelop, Primo -> Morain's ECPP).
Now I'm down... (1 Reply)
Discussion started by: CRGreathouse
1 Replies
6. UNIX for Dummies Questions & Answers
Hi guys
I cant use zgrep on a SunOS
Do you know any alternative for it?
i need to use
zgrep -c
grep works fine
but zgrep is not supported (4 Replies)
Discussion started by: khestoi
4 Replies
7. HP-UX
I need lsof equivalent in HP-UX. I do not want to add lsof utility separately. (1 Reply)
Discussion started by: deo_kaustubh
1 Replies
8. HP-UX
In sun solaris, pwdx will give the print working directory.
Suppose I have 5 databases running on different oracle versions.
If I want to know what database is running on what oracle version, I just give pwdx <process id>. It will show the oracle home details.
Could you give me the... (10 Replies)
Discussion started by: oracleuser
10 Replies
9. Shell Programming and Scripting
I am using "ps ax" command in one of my scripts . AIX has x flag for ps . is there any equilent command for ps ax in solaris ?
Thanks (1 Reply)
Discussion started by: talashil
1 Replies
10. HP-UX
Hi Guys,
Does hp-ux has mksysb equivalent with aix? Or something similar that you can save the system config.
Or you just backup the boot image, that's it.
Thanks in advance,
itik (3 Replies)
Discussion started by: itik
3 Replies