10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r '
The output is the following,
remoteserver1
... (8 Replies)
Discussion started by: charli1
8 Replies
2. UNIX for Beginners Questions & Answers
Just playing about with Samba today, if I run smbtree on a couple of clients I get:
WORKGROUP
HOME
\\P_151 Samba 4.5.12-Debian
\\P_151\IPC$ IPC Service (Samba 4.5.12-Debian)
\\P_151\Share Pi Share
\\P_151\print$ ... (1 Reply)
Discussion started by: MuntyScrunt
1 Replies
3. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
4. Shell Programming and Scripting
Hi
I have this output
/vol/vol0 4GB
/vol/nonprod00 682GB
/vol/prod00 3GB
/vol/nasp_archive 201GB
/vol/nasp_iface 92GB
/vol/nasp_bsi 0GB
/vol/nasp_vertex 0GB
/vol/nasp_sapmnt_mp2 1GB
/vol/nasp_sapmnt_prd 52GB
/vol/nasp_sapmnt_srp 1GB
/vol/nasp_smd 1GB
/vol/nasp_ccms 0GB... (8 Replies)
Discussion started by: bombcan
8 Replies
5. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
6. Shell Programming and Scripting
Hi Team,
I coded my code to send mail to some reciepents with subject and date.
Can somebody suggest me how to add host name to subject ? and the below code is correct for date ?
my aim is to send mail with "subject in < hostname> on <date>".When i execute this script on my server its hung... (3 Replies)
Discussion started by: rocking77
3 Replies
7. Shell Programming and Scripting
Hello.
I have this..
$ echo '2+2' | bc
4
But I want to output it as
4 MB
So, can I achieve that through one single command line?
Thank you. (7 Replies)
Discussion started by: aimy
7 Replies
8. Shell Programming and Scripting
Dear experts,
I have a file called "check" with contents like below
i used the sed command like below to get the value of "success" and "failed" only
My question is how can i get the value to include the time "03:15", so that i can get a value such as below : -
Appreciate... (4 Replies)
Discussion started by: aismann
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
10. Shell Programming and Scripting
Hello,
I have a list of all order number like below:
maryu01001
johnm00003
peter02234
catmy66751
For the above, all number must in 5 digits and I need to add one into the number and output a new list like below:
maryu01002
johnm00004
peter02235
catmy66752
How can write a... (20 Replies)
Discussion started by: happyv
20 Replies