Hi All,
An easy one for those in the know !!
I have hostnames of machines in my environment that can be displayed as either:
NTSNRTWK006
YSWWKFDS01
I want to be able to extract only machines that have WK as the 7th and 8th characters, and output them to a file.
Any ideas?
Thanks in Advance
Blx
Hi all,
I have a file containing a list of servers.
I want to start a service on each of these servers at 15 minute intervals - e.g. start service on server1, sleep for 15 minutes, start service on server2 sleep for 15 mins etc, until the whole list of servers has had the service started on...
I want to be able to view control characters in vi. When I run a script created in vi, I get the following message "Bad Interpreter". I believe that it is because it has ^M character in the script at the end of each line, (however I would like to see which control characters appear in...
sorry, here's a portion:
for resources in `cat $list_dir/$Administrator`
do
wln $resources /Administrators/$Administrator
done
The script calls this file:
@RemoteControl:RC.ADMINS.DESKTOPS
# List the collections here
/Library/imp_TMF_TGC::CollectionGUI helpdesk_tasks
The line in Green is...
Hi All,
I wonder if someone can help. I've created a script that takes its input from a separate file. The contents of the file are read line-by-line, and each line must be exactly as it appears.
I would like to add some comments to this file but want the script to ignore anything with a #...
Hi All,
I want to be able to list all the products and patches installed for a single specified host from the command line. I have tried the various options of the wlsinst command, and can't seem to find a way to do it.
Any ideas/suggestions?
Thanks in Advance
blx
Hi All,
I want to be able to install the Remote Control 3.8 binaries as part of a disk clone process.
The reason for this is that I have a large number of laptops that only dial in that are in the process of being rebuilt, and I don't want the binaries to be downloaded when they first become...
Pritesh,
If I understand this correctly, your tivprod account is a member of the Domain Admins group?
BuiltinNTAdministrator is a pseudonym, it isn't a real account name. This allows you the flexibility to rename the Administrator account to anything you want it to be. It also allows you have a...
Hi
Attached is a small script that's driving me mad!!
I want to compress a file (using gzip - which I have done), I then want to rename the file using the mv command but add the date and time to the filename from the variables I've declared at the top of the script.
Is there an easy way that I...
Hi All,
I have the following line:
1944512883.1.347#TMF_ManagedNode::Managed_Node#
I want to use AWK to extract 1944512883.1 only and then discard everything else after the '1'.
I'd be really grateful if someone could show me how or tell me if this can be done.
Thanks VM in advance.
Hi all,
I need to write a small shell script that will do the following:
1. Do a listing of a certain file in a specific directory.
2. Look at the size of the file, reduce the size of it and then set a limit on the size so that it doesn't exceed a the size that I set.
Is this doable??
Thanks...
Hi All,
I'm trying to add my Company logo onto the Tivoli desktop. I've read on the orb-data site about the way to do it, but the example they use has a .xpm file as the input. Does my gif file have to be converted to a .xpm file first or can I simply use "mylogo.gif" as an input...
Hi All,
I'm trying to install framework 4.1 on Red Hat Linux 8.0.
The installation seems to go well with no errors being reported, however, the problem I have is when I try to connect the Tivoli desktop from my win2k machine to my linux server. I can ping and name resolution works ok.
Linux was...
Hi sorry for being rather vague !
A sample file would be:
ntsphr0044
ntsphr0044
ntsphx0049
ntsphr0044
ntsphhx049
ntsplas073
ntsplas073
I would want to do this in Shell
Thanks
Hi
Hope someone can help - I have a file which contains a list of names, some of which are duplicated. What I want to be able to do is to remove the duplicated names so that I have a list of 'individual' names.
Can someone help please.
Thanks very much
Hope someone can help with this relatively easy problem.
I am trying to create a Tivoli task that will run the following command:
wdmlseng -e <endpoint_label> -verbose
I can create the script (wdmlseng.sh) which runs quite happily from the command line from an already sourced Tivoli command...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.