Terminal.app command line for bluetooth
Hi,
Are there any command line applications to monitor or change bluetooth status? For example I use "scselect" to examine and change Network locations.
Thanks!
Try->
apropos bluetooth
Most likely you need to operate on .plist (preference file) to change the status.
Similar Messages
-
Command line for credential manager
can anyone help me in getting command line for credential manager ... ?
Thanks,
VRAGHUIf there are a lot of them you could go to a command prompt and type:
cmdkey /list
Or better yet: cmdkey /list > del_creds.cmd
Then edit the file so you are only left with, for example:
cmdkey /delete:info-services.dev-inside.lni.wa.gov
cmdkey /delete:info-services.inside.lni.wa.gov
cmdkey /delete:inside.lni.wa.gov
cmdkey /delete:lnidaptumtfs08.wads.res
cmdkey /delete:lniduttumvm05
cmdkey /delete:lnipstum01.wads.res
cmdkey /delete:lnipstum02.wads.res
cmdkey /delete:lnixapolysrm1.wads.res
cmdkey /delete:ohr.apps-inside.lni.wa.gov
cmdkey /delete:portal.apps-inside.lni.wa.gov
cmdkey /delete:portal.dev-inside.lni.wa.gov
cmdkey /delete:scsd8.unit-test.wads.wa.gov
then run your del_creds.cmd file and they will all be gone.
Steven Shippee -
Clearmake: Warning: Too many command lines for "pcscfg.cfg"
Hi,
We are in the process of migrating an application(contains pro*C code) from oracle 9i to 10g.
When the application is compiled on oracle 9i the compilation used complete with out any problems.
After we changed the ORACLE_HOME parameter in our makefile to point to 10g home. clearmake
gives the following Warning. though the build is successful
clearmake: Warning: Too many command lines for "pcscfg.cfg"
Could anybody please help me in getting rid of this warning?
Regards
SrikrishanHi,
I have removed all unwanted things from the makefile, but the problem is still there.
I have included a sample program and the makefile which reproduces the problem.
The problem goes away if I comment out 4th line from the makefile and use 5th line instead
Could anybody please help?
#################The contents of the make file are #####################
targets: proctest
#ORACLE_HOME= /data/oracle/product/9.2.0
ORACLE_HOME= /data/tsd_oracle/hpux/10.2.0.2
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
#include /data/oracle/product/9.2.0/precomp/lib/env_precomp.mk
ORACLEINCLUDES= -I$(ORACLE_HOME)/precomp/public
PROCSYSINCLUDEOPT=sys_include='(/usr/include,/opt/aCC/include,/opt/aCC/include/iostream)'
ALLPROCINCLUDEOPTS= $(PROCSYSINCLUDEOPT)
PROCPPFLAGS= sqlcheck=full lines=yes code=cpp def_sqlcode=yes $(ALLPROCINCLUDEOPTS)
ACC=/opt/aCC/bin/aCC
ORACLELIBS= -L $(ORACLE_HOME)/lib32 -l:libclntsh.sl
#===========================proc test==================================
proctest:proctest.o
$(ACC) -o proctest $(ORACLELIBS) proctest.o
#========================= General target rules ============================
proctest.o:
$(ORACLE_HOME)/bin/$(PROC) $(PROCPPFLAGS) CPP_SUFFIX=cc iname=proctest.pc
$(ACC) $(ORACLEINCLUDES) -c proctest.cc -o proctest.o
#####################program (proc test.pc)#########################
#include<stdlib.h>
#include<iostream.h>
#include<sqlca.h>
#define UNAME_LEN 20
#define PWD_LEN 20
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR username[UNAME_LEN]; // VARCHAR is an ORACLE supplied struct
varchar password[PWD_LEN]; // varchar can be in lower case also
EXEC SQL END DECLARE SECTION;
void sql_error(char *msg);
int main()
EXEC SQL WHENEVER SQLERROR DO sql_error("ORACLE error:");
username.len = (unsigned short)strlen(strcpy((char *)username.arr, "scott"));
password.len = (unsigned short)strlen(strcpy((char *)password.arr, "tiger"));
EXEC SQL CONNECT :username IDENTIFIED BY :password;
cout<<"Connected to oracle \n";
return(0);
void sql_error(char *msg)
EXEC SQL WHENEVER SQLERROR CONTINUE;
cout << endl << msg << endl;
cout << sqlca.sqlerrm.sqlerrmc << endl;
EXEC SQL ROLLBACK RELEASE;
exit(1);
#################################################################### -
Need DOS Command-line for vgabios
Hello,
can anyone post the standard command-line for me to copy and paste into msdos autoexec ? I'm trying to temporary load the vgabios for my geforcefx.edit command. C:\edit autoexe.bat
Now type in the commands you want
Edited for misleading content -
Command line for DISCOVERER 3.1.37
I try to found the instructions about the command line for DISCOVERER 3.1.37 (how to activate with the username/password with the address of a workgroup on a file server)
Where can i find informations about Command line mode and examples ?Hi,
I think you need to upgrade Disco to 4.1.48, I don't think 4.1.37 works properly with Applcations 11.5.8.
Rod West -
Command line for replication setup for DS 4.16
I am using Directory Server 4.16. I see example using command line for replication configuration in DS 5.0. Since 5.0 is quite different with 4.16. So my question is how to use command line to set up a Supplier in DS 4.16?
I know we can use ldapmodify to do some change. I see an ldapreplica entry. I can setup supplier id and password there. It seems only change that entry is not enough. Where to setup the setup for "changedatabase", "replication schedule", "initial consumer later" something we do at the console screen?
Your help is greatly appreciated.
IrisHi Iris
Steps involved in Setting up Replication from command line
Part I: On Consumer Directory Server
1. Log on to the consumer directory server.
2. Stop the consumer directory server
3. Edit the slapd.conf file at <server-root>/slapd-<server-instance>/config so that it includes the following two lines. The lines show the DN of who is allowed to connect for replication and the entry's corresponding password.
updatedn "uid=<REPLICA USER BIND DN>"
updatepw {SHA}<SHA ENCRYPTED REPLICA USER PASSWORD>
4. Edit the dse.ldif file at <server-root>/slapd-<server-instance>/config so that the entry cn=config contains the following two lines. These lines contain the same data as the line above.
nsslapd-updatedn: uid=<REPLICA USER BIND DN>
nsslapd-updatepw: <PLAIN TEXT REPLICA USER PASSWORD>
5. Start the consumer directory server
Part II: Creating the Replication Agreement
1. Log on to the master directory server
2. Stop the master directory server
3. Edit the slapd.conf file at <server-root>/slapd-<server-instance>/config so that it includes the following two lines. This lines setup the changelog directory and suffix.
changelogdir <dir path >
changelogsuffix "cn=changelog"
4. mkdir <CHANGELOG DIR>
5. Start the master directory server
6. Create a file named replica.ldif which contains the following lines. These lines reflect the agreement which will start the replication with the consumer; as such you should make the changes to reflect your environment.
dn: cn=<CONSUMER FQDN>:<CONSUMER PORT>/o%3D<BASE DN>, cn=ldap://:<SUPPLIER
PORT>,dc=<1ST ELEMENT OF SUPPLIER FQDN>,dc=<2ND ELEMENT OF SUPPLIER
FQDN>,...,<TOP LEVEL SUPPLIER FQDN>
changetype: add
objectclass: top
objectclass: LDAPReplica
replicahost: <CONSUMER FQDN>
replicaport: 389
replicanickname: <CONSUMER HOSTNAME>
cn: <CONSUMER FQDN>:<CONSUMER PORT>/o%3D<BASE DN>
replicaroot: o=<BASE DN>
replicabinddn: uid=<REPLICA USER BIND DN>
replicacredentials: <REPLICA USER PASSWORD>
replicausessl: 0
7. Run ldapmodify with the proper authorization so that the entry is added correctly.
8. There is an optional attribute which can be tacked on to the bottom of the above entry. The attribute 'replicabeginorc' will tell the server to immediately start on-line replication; this will initialize the consumer by deleting all the current entries on the consumer one at a time and then adding all the entries from the master one at a time. If this is something you want to do, do an ldapmodify adding this attribute to the entry you just created in step 8.
for example
Create a file called beginreplica.ldif like;
dn: cn=xymox.mcom.com:389/o%3Dinternet, cn=ldap://:389,dc=fts,dc=mcom,dc=com
changetype: modify
add: replicabeginorc:
replicabeginorc: start
then run;
ldapmodify -h fts -p 389 -D "cn=Directory Manager" -w netscape -f beginreplica.ldif
Hope this helps
Roy -
How can I use srvctl command line for change "Failover type" and "F method"
Hi all,
I am using Oracle One Node (11.2.0.3), and I have a service:
/u01/11.2.0/grid/bin/srvctl config service -d orcl
Service name: orcldb
Service is enabled
Server pool: orcl
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: orcl_1
Available instances:
I would like to change "Failover type" and "Failover method" to:
Failover type: SELECT
Failover method: BASIC
How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
Thanks in advance.
Leonardo.user10674190 wrote:
Hi all,
I am using Oracle One Node (11.2.0.3), and I have a service:
/u01/11.2.0/grid/bin/srvctl config service -d orcl
Service name: orcldb
Service is enabled
Server pool: orcl
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: orcl_1
Available instances:
I would like to change "Failover type" and "Failover method" to:
Failover type: SELECT
Failover method: BASIC
How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
Thanks in advance.
Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
Also see
11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1] -
Unable to Launch FMEL via Command Line for Osprey 460e Simulstream Mode
Subject: Unable to Launch Flash Media Encoder Live v3.2 via Command Line for Windows 2008 for Osprey 460e Simulstream Mode.
Dear Users,
Its urgent and I request you to looking into the problem and oblige.
We are facing problem in command line section of Flash Media Encoder Live v3.2 while using Osprey 460e Device Capture.
When we are launching the setup via GUI mode of Adobe Flash Media Encoder Live then its showing fine, However when we are trying to execute the same using the commandline then its throwing the error that the device is in use already.
Please clarify the error and confirm that there is no errors issues from your FMLE side. We have installed the latest downloadable (stable version) from Osprey Viewcast website only.
Regards
VibsI have solved the error by installing Desktop Experience Feature in Windows 2008
To resolve this problem, install the Desktop Experience feature of Windows Server 2008. To do this, follow these steps:
Click Start, click Administrative Tools, and then double-click Server Manager.
In Server Manager, click Add Features under Features Summary.
In the Add Features Wizard dialog box, make sure that the Desktop Experience option is selected.
Click Next, and then click Install.
After the installation process is complete, click Close, and then close Server Manager.
Note After you install Desktop Experience, you have to restart the computer. -
How to enable telemetry logs and where can i find the command line for sun
Hi i tried creating the telemetry logs directory but the logs are not being populated. i created the following directory:-
/opt/SUNWmsgsr/data/telemetry/imap/usersns1
where usersns1 is the userid.
Also pl. tell me where can i get the command list for sun one messaging server to use the command line utility to list, delete mailboxes. also can i search for all the mailboxes under one domain name. if yes then which command i have to use.
thanks in advance.Hi,
Hi i tried creating the telemetry logs directory but
the logs are not being populated. i created the
following directory:-
/opt/SUNWmsgsr/data/telemetry/imap/usersns1
where usersns1 is the userid.Make sure the permissions (ownership) on the user directory and the sub directory match those that messaging server uses - by default mailsrv:mail. This is the most common cause of the telemetry data not being created. The other thing to verify is that the user's account isn't stored as user@domain, otherwise you may need to create the directory as the entire user@domain (try both just to be sure).
Also pl. tell me where can i get the command list
for sun one messaging server to use the command line
utility to list, delete mailboxes. also can i search
for all the mailboxes under one domain name. if yes
then which command i have to use.The Messaging Server reference guide is a good place to start (lists all the command-line utilities/flags and what-not):
http://docs.sun.com/app/docs/doc/819-4429?l=en
The mboxutil command is used to list/create/delete mailboxes and you can use a pattern to only list those mailboxes in a specific domain.
Regards,
Shane.
thanks in advance. -
7z command line for Mac OS X 10.5.8?
Hello.
I am having problems finding a command line version of 7z like in Linux. I found GUI ones, but I prefer the command line (e.g., 7z foobar.7z ~/*). Does one exist for 10.5.8?
Thank you in advance.BDAqua wrote:
Possibly executing one of these in Terminal???
http://7zx.en.softonic.com/mac
http://www.kekaosx.com/en/
http://osxdaily.com/2010/12/13/open-7z-files-on-a-mac/
I found lsar and unar, but they can't compress? -
Webstart-deployed desktop app, command line and Windows ShellExecute.
Hi all,
I want to be able to associate Windows Shell registry actions (shellExecute from right click menu, double click, and protocols) with a Webstart Java Swing desktop app. This is pretty key to our deployment strategy.
I have two options that I'm pursuing right now.
OPTION A
Unfortunately I'm encountering a few problems:
1) javaws.exe does not accept parameters, therefore I can't pass parameters directly from a Windows command line
2) The only way to get arguments in is through the jnlp file. Sounds like this is possible using a jnlp written by a servlet. But can I just pass GET parameters to my servlet like so?
http://webstart.com/go/?param=value¶m2=value2Would that work?
2a) subissue: I want to use JNLP's SingleInstance to make sure that only one of my app is running at any time. It sounds like that JNLP interface also allows for new parameters to be passed in as arguments... but if I pass in parameters to my webstart address, will SingleInstance properly recognize that http://webstart/go and http://webstart/go?param=value are the same program?
OPTION B
So the alternative deployment strategy that I'm contemplating is using webstart, but then deploying a separate .jar to the machine and registering that to be the argument acceptor from Windows. So windows would run something like so:
java -jar cmdLauncher.jar argshereFrom there I will do two things:
a) If the program is already running, then I pass the argument in using network sockets and deal with it like so.
b) If the program isn't already running, then I execute javaws http://myurl and then maybe write to the socket when it's ready. This might really suck since i'll have to poll until the socket is ready.
Anyway, was hoping someone with more webstart internals had some idea as to
a) would a option A (dynamic servlet) work in the way I expect?
b) Is option B the only way to really do it? It certainly seems feasible at this point.
Ideally I just wish javaws.exe allowed passing arguments, and thus this entire problem would not exist. It's a pretty powerful and important feature for WebStart to be able to be a fully featured deployment solution.OPTION A
Unfortunately I'm encountering a few problems:
1) javaws.exe does not accept parameters, therefore I
can't pass parameters directly from a Windows command
line
2) The only way to get arguments in is through the
jnlp file. Or the SingleInstanceService.
....Sounds like this is possible using a jnlp
written by a servlet. But can I just pass GET
parameters to my servlet like so?
http://webstart.com/go/?param=value�m2=value
2Would that work?Huh? Assuming the servlet that produces the
launch file fir this application is called 'go', and that
servlet returns the correct content-type, and writes
the two params in the URL into the JNLP as
arguments, then.. yes - this should work.
http://webstart.com/go?param=value�m2=value2Note the lack of one '/'.
( I have not had much direct experience with
JNLP combined with servlets, but am familiar
with both. )
2a) subissue: I want to use JNLP's SingleInstance to
make sure that only one of my app is running at any
time. It sounds like that JNLP interface also allows
for new parameters to be passed in as arguments...
but if I pass in parameters to my webstart address,
will SingleInstance properly recognize that
http://webstart/go and http://webstart/go?param=value
are the same program?As I understand from my experience, the URL
becomes redundant, any params that were in
the JNLP are ignored in preference to the single
-open argument. Here is my buildable example..
http://www.physci.org/jws/#sis
a) would a option A (dynamic servlet) work in the way
I expect?Sounds like it. -
Hello Guys,
I have FTP to FTP scenario where more than 100 files are picked up from sender side.
My requirement is to send a "Done.txt" file into the receiver folder once all the files are successfully processed.
I believe "Command Line After Successful processing" in the FTP channel could help me. But I don't know how to use or write scripts for the same.
Also, the sender party is ready to provide me with the "Done.txt" file but I have to pick this file at the end, after all other resourceful files are successfully processed.
Please let me know if there are any links for the same or how to do this.
I was unable to find it out on SCN(may be I am not writing the proper words for the search).
Thank you!
Regards,
Simran>>>I believe "Command Line After Successful processing" in the FTP channel could help me. But I don't know how to use or write scripts for the same.
The problem with this approach is that the command gets executed for each file
>>>Also, the sender party is ready to provide me with the "Done.txt" file but I have to pick this file at the end, after all other resourceful files are successfully processed
For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order.
so request your sender system to place this "done.txt" in such a way that it should be last one when you arrange them in ascending order.. something like "ZZZZZZ.txt"??? -
Picture Manager with command line for Bat files
Hello
I am wondering if Microsoft Picture manager has any command line switches i could use.
I resize thousands of photos weekly using Picture manager for a semi automated process. The resize is the part that is not automated. For some reason when using image magik the resize is done but it does not accept some images where i upload them, yet if
i do it in parallel with Office picture manager the Microsoft re-sized always work.
The process uses VB Access, downloads all images changes the extension from one card extensions to jpg and ammends the name. sorts the images to two folders.
Then i resize as a batch manually. Not difficult but needs hands on and have you tried changing the dimensions in picture manager when all are selected. tedious!
Then the final bat uploads to correct locations.
So my question, how to use command line with Microsoft picture manager. If not command line Powershell. I can not beleive that the program can not be opened specifying a folder and resize image dimension to use. I cant see the source code where i believe
it would be apparent to me how to do so.
Thank you
Sometimes the answer is so blindingly obvious i fail to see!I have done it before on BOXI R2 with the IW, and it works fine
But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports is an additional part of the product.
So is there a way that I can pull just the main universe and it's reports? -
Create biar file with command line for link universe
Hi
I am using boxi 3.1 and I am trying to create 2 biar files with the command line
One file for " main" universe and it's reports and another is for a link universe and it's reports
The problem that on "main " biar file that been created , the link universe and it's reports also appear in it. Even so in the queries only the relevant objects are selected
I try to remove from the properties file the parameter 'exportDependencies=true ', and then when I check the xml of the biar I so that the link universe and it's report no longer appear. But when I importing the file I receive the error message 'Required dependencies not found on target system : '[ARgp0DCiBRBOsL3EHYQaHBY, AdfkNagAE59Nsbazh40nwTU]'
Does anyone have an idea what I need to do , in order to see in the main biar bust the main objects?I have done it before on BOXI R2 with the IW, and it works fine
But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports is an additional part of the product.
So is there a way that I can pull just the main universe and it's reports? -
I want to use reader with command lines (to print a document for exemple) without open reader with the mouse.
Is someone knows the solution ?
ThanksThere's no pdf printer provided with reader, so there's no printing command associated with reader specifically. you need Adobe Acrobat for that purpose.
Instead, you can use commands to invoke your system printer and pass a pdf file to it.
Maybe you are looking for
-
I can not dowload the new updated software for my Ipod touch 4G. When i do I get an error message that says Network connection has timed out. I have done the trouble shooting steps. Downloaded the latest version of Itunes, and checked network connect
-
I have a problem with my I phone usually have cannot hear clearly the person calling me,what should i do about it?
-
How to add new currency?
Hi, I'm new to this and can't find a solution to my problem. I'm doing some very simple invoice form, with calculations and totals, but I need to have the currency on each total, subtotal, etc. The problem is, none of the default currencies work for
-
Problem with PadExe.exe message occurs at the boot-up
On booting up, which takes anything up to 30 minutes and more, I receive a message that there is a problem with PadExe.exe It seems that padhook.dll is the problem. Putting PadExe or PadExe.exe into the search facility on the Toshiba site reveals no
-
Hi, I am having function returning ref cursor.I am assigning all the output values into ref cursor but getting error while returning cursor. When I am trying to print value in a loop its showing correct output but while returning the cursor giving er