Search Results

Search: Posts Made By: lassimanji
8,226
Posted By lassimanji
Printing to a web page
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this.
4,733
Posted By lassimanji
retrieve what the currently selected item is in a dropdown select list using perl tk
I have a dropdown menu built in perl tk (I am using active state perl). I want to select a value from the dropdown menu and I want to be able to perform some other actions depending upon what value...
2,253
Posted By lassimanji
I was able to get the solution for it. I just put...
I was able to get the solution for it. I just put output in differnt lines and then greped out only those lines which contained lte.
2,253
Posted By lassimanji
deleting certain parts of a line in perl
I have a filr data.txt. Its contents are

Available labels (* indicates activated, I indicates installed, R idicates running): abc-3.0.3 def-3.0.4 xyz-3.1.2-1.0


I want to...
3,870
Posted By lassimanji
Interfacing a shell script with Perl Tk GUI
I want to make a GUI in perl tk where I can give some user input. This user input is the command line argument for a shell script. After giving the input parameters I want the user to press a button...
3,262
Posted By lassimanji
I am using active state perl. I think expect...
I am using active state perl. I think expect would not work in it
3,262
Posted By lassimanji
automating RSA key pair generation
I want to automate the process of generating RSA keys. I want to remotley login to a linux machine from a windows maching without having to enter a password. For this I need to generate the RSA key...
4,759
Posted By lassimanji
reading/getting a file from perforce
I have a file stored in perforce which contains some data. I want to read the data out of that file in perforce and use it in a shell script. How can i get read the file fromn perforce
2,192
Posted By lassimanji
no its not home and il check the rest of the...
no its not home and il check the rest of the things
2,192
Posted By lassimanji
there is a way..can use input_log() or dump_log()...
there is a way..can use input_log() or dump_log() but both the files are empty
2,192
Posted By lassimanji
problem with Net::Telnet
#!/usr/bin/perl
use strict;
use warnings;
use Net::Telnet ();
my $t = new Net::Telnet (Timeout => 10,
Prompt => '/.*(#|>|\))\s*$/');
my $remote_host='home';
...
3,241
Posted By lassimanji
it does work. thanks
it does work. thanks
3,241
Posted By lassimanji
it print a whitespace when i do echo $BANDTYPE. ...
it print a whitespace when i do echo $BANDTYPE.
This does'nt seem to work
3,241
Posted By lassimanji
extracting data from a .csv file
I have a .csv file
equipment,bandtype
abc,aws
def,mmds
ghi,umts
jkl,mmds

I can get the equipment from `hostname`.
In my script i want to check what is the hostname. then see if it exists...
3,002
Posted By lassimanji
mcnamara try.sh will not always retun an error....
mcnamara try.sh will not always retun an error. If it can find any of the three values (umts, mmds, aws) it should continue to perform other operations
3,002
Posted By lassimanji
d3vvnull im new to shell scripting so I am sure...
d3vvnull im new to shell scripting so I am sure that there are some flaws in my code. what i want the code to do is check if any of the three values (umts, aws, mmds) exist then echo contine. what...
3,002
Posted By lassimanji
thanks devtak the code works fine.
thanks devtak the code works fine.
3,002
Posted By lassimanji
Exiting a script
I have a script abc.sh. Its contents are as follows:
3,493
Posted By lassimanji
i have the code i just can't figure out whats...
i have the code i just can't figure out whats wrong with it
3,493
Posted By lassimanji
maybe compare was a wrong word..i want to match...
maybe compare was a wrong word..i want to match the contents of these 2 files no matter in which order they are
3,493
Posted By lassimanji
yes there is ..the file contents are not always...
yes there is ..the file contents are not always in the same order. if i run a diff on these 2 files the output is
2d1
< 0xc0a80129
4a4
> 0xc0a80129
3,493
Posted By lassimanji
comparing 2 files
I have 2 files
diff.txt
0x21
0xc0a80129
0xc0a80101
0xc0a80108

and abc.txt
0x21
0xc0a80101
0xc0a80108
0xc0a80129
I want to compare these 2 files.
The code that I have so far is
...
1,640
Posted By lassimanji
thanks...i did'nt know that
thanks...i did'nt know that
1,640
Posted By lassimanji
sorting a file
0xc0a80101
0xc0a80108
0xc0a80129
0x20
0xc0a80201
0xc0a80201
0xc0a80201
0xc0a80201
0xc0a80202
0xc0a80201
0xc0a80202
0xc0a80201
0x20

I want to sort this file.
The command that i am...
6,515
Posted By lassimanji
0xc0a80101 0xc0a80108 0xc0a80129 0x20 ...
0xc0a80101
0xc0a80108
0xc0a80129
0x20
0xc0a80201
0xc0a80201
0xc0a80201
0xc0a80201
0xc0a80202
0xc0a80201
0xc0a80202
0xc0a80201
0x20

I want to sort this file.
The command that i am...
Showing results 1 to 25 of 58

 
All times are GMT -4. The time now is 07:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy