10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am new in scripting,
I need script(BASH) which do telenet to one of the elements & run few commands , after running it successfully it will check status of files & exit.
Help is greatly appreciated 🙏 (2 Replies)
Discussion started by: Vinesh_123
2 Replies
2. Debian
Hi,
Examining the Debian Linux logfiles, I found out that not all commands are logged in my pacct (/var/log/account/pacct)
For instance, if I run and stop Wireshark and do after that
# lastcomm | grep "wireshark"
The wireshark command is logged as expected.
# lastcomm | grep... (1 Reply)
Discussion started by: suvios
1 Replies
3. Shell Programming and Scripting
Hi Guys,
I am running RHEL5, I am trying to find out the history of the cammands that were executed on my server.
I have files that are missing I just want to find out what happened to them.
I used history | more but I can't find anything related to my query.
I also checked... (1 Reply)
Discussion started by: Phuti
1 Replies
4. Shell Programming and Scripting
Suppose user 'asdf' is not logged into server 'bbbb', but the server is up. User 'asdf' has cron job. Will it be executed? (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
5. UNIX for Dummies Questions & Answers
Hello every body,
Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris??
To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time.
FYI I used... (5 Replies)
Discussion started by: ahmedamer12
5 Replies
6. UNIX Desktop Questions & Answers
Hi All,
I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands.
ssh xzur0211pap
spaceleft=`df -k /home |tail -1 | awk '{print $5}'`
spaceleft=${spaceleft%\%}
if ]; then
echo "ALERT : HUFS(/home $spaceleft)"
exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies
7. Solaris
Who knows if when working in the single user mode that any command are logged or could b elogged specially if I do a fsck I like at least to see when I did start it. (1 Reply)
Discussion started by: manni2
1 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to write a script to get the user information & the command executed.
I tried something like this :
w | sort | awk '{print$5$6$7}'
My requirement is to identify the users who execute the same command at same time.
I need the user name & the... (2 Replies)
Discussion started by: vijayarajvp
2 Replies
9. UNIX for Dummies Questions & Answers
i need to know abt Unix Development,History,Features n Everything.....
:confused: (2 Replies)
Discussion started by: Shank
2 Replies
10. UNIX for Dummies Questions & Answers
Hello,
How do I write a korn shell that will rename file with the current date. What I want to do is, I have a file that is re-written every day. But instead, I want to keep a 14 day history of the file. So I want to write a script that will rename the current file with a date attached to the... (2 Replies)
Discussion started by: watson2000
2 Replies