10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this input file
Switch 0; Sun Sep 11 12:40:53 2011 EDT (GMT+4:00)
12:40:53.159984 SCN Port Offline;g=0x1e4b6 A2,P0 A2,P0 379 NA
12:40:53.159991 *Removing all nodes from port A2,P0 A2,P0 379 NA
18:45:31.326604 Port Elp engaged ... (1 Reply)
Discussion started by: greycells
1 Replies
2. UNIX for Advanced & Expert Users
Hi Guys
i have set the watch command on my shell
watch=all
but this will report when i open and close a shell, is there a way so that it will ignore me user but only when i am on my machine
i can set it to
watch=notme
but that will not detect if someone su -<my... (0 Replies)
Discussion started by: ab52
0 Replies
3. UNIX for Dummies Questions & Answers
Dear All
I had a UNIX ( Sun solaris ) os.
There are many user on that server. Now i want to find during last week who had log in to the sever and which commnad are executed by them?
I also want to from which IP they had log in to the server.
Is there any log file generated for user in... (5 Replies)
Discussion started by: jaydeep_sadaria
5 Replies
4. UNIX for Dummies Questions & Answers
Hello all
say i like to find files i do :
find . -name "*.txt"
but if i like to find ( and print out ) only the path's where the files are ( the *.txt files )
what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a file and the contents of the file is say
World
World
World
Now i need to append some more words in each of the line and the the output of the file should like the one below
Will India win the World Cup?
Will India win the World Cup?
Will India win the... (3 Replies)
Discussion started by: preethgideon
3 Replies
6. Shell Programming and Scripting
hello everyone..
I was wondering is there a effective way to sort file that contains colomns and numeric one.
file
218900012192 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012979 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012992 8938929 8B8DF3664... (2 Replies)
Discussion started by: amon
2 Replies
7. Shell Programming and Scripting
Hi,
my perl script is calling another external java program. The Java in turn prints out a string. how can I capture the string.
------------------
#!/usr/bin/perl
print "Content-type:text/html\n\n";
use CGI;
$query = new CGI;
$theCookie = $query->cookie('someCookie');
$user =... (0 Replies)
Discussion started by: azmathshaikh
0 Replies
8. Shell Programming and Scripting
echo "Enter a,: \c"
read answer
echo
case "$answer" in
a|A)
echo "Enter a file :\c"
read $answer
echo " Enter a string to be searched :\c"
read $answer2
if
then
echo " file doesn't exist" ... (5 Replies)
Discussion started by: props
5 Replies
9. UNIX for Dummies Questions & Answers
Hi all
Wanted to know if there is a command that gives me the bandwidth used at any point of time (in mbps). I pay for the bandwidth I have used and need to be alerted everytime I corss over a certain limit.
Regards
KS (5 Replies)
Discussion started by: skotapal
5 Replies
10. Programming
How does commnad tail implement ?
Thank you . (1 Reply)
Discussion started by: chenhao_no1
1 Replies