I don't know a command called "liks", so I'm guessing that it's some utility on your system.
Find out where "liks" is - the directory path to it. Add the path to your command:
Next, you cannot put a comma after a command. The reason is because the mv command is next in the line.
I think you have hashed up a series of commands. Can you tell us what the command line is supposed to to? Not what commands you want to use.
I have created abc.sh file which will set the environment variables (UNIX env variables as well as ORACLE required variables like ORACLE_SID,ORACLE_HOME etc) and then calls a function file which checks for starts some logs and then it will try to execute the .sql file. The .sh, function file are as... (1 Reply)
i'm writing some simple scripts to help me learn perl.
why does the print command get called after the shell script is executed?
the purpose of the shell script is to simply echo to the screen "script run". which is does, but before the print command, you can clearly see the shell script is... (3 Replies)
Hi,
I am working on a shell script that would verify if the mount command has executed or not. So , i have been doing this.
mount /dev/cdrom /mnt/cdrom
echo "$?"
if ; then
echo " Mount succesful"
else
echo " Mount unsuccessful"
fi (3 Replies)
In a pro*C program, I use query follow:
INSERT INTO radacct_wk
SELECT (select psid from cscterminfo where cscterminfo.TELNO = username), nasipaddress, acctstarttime, acctstoptime,
acctsessiontime, acctinputoctets, acctoutputoctets, acctterminatecause, framedipaddress
FROM radacct@DBSV_B;... (7 Replies)
Hi.
please help me to write the following query in a shell script.
the Query is :select no,salary from emp_info where name='$var_name'
the following is my code.
#! /bin/sh
var_name=$1
sqlplus -s user/pwd@DB << EOF
select no,salary from emp_info where name="'$var_name'";... (4 Replies)
Can i do this
Say one command
sed 's/:*/ /g' $summf
is returning
C1234
C2345
C3434
some no of rows, now this ouput i have to insert it into a DB table
how do i do this?? (2 Replies)
Hi Guys..
Need your help to format the output of my shell script.
I am using spool command to take out put in csv file.
below is my code. (for example)
col USERNAME for a15
col EMAIL for a30
col FULL_NAME for a20
col LAST_LOGIN for a40
col DATE_CREATED for a40
SPOOL 120.csv... (3 Replies)
I am able to execute awk command from shell prompt. but the same command is not getting executed when written and run in a bash script
the command from bash cmd prompt.
awk '/world/{for (i=2; i<NF; i++) printf $i " "; print $NF}1' myfile >tmp$$ ; mv tmp$$ myfile
file:
# hello world my... (4 Replies)
Hi All,
I am trying to write a shell script to check if a command executed successfully or not in rhel 7 and finding the installed tomcat version.
I am using below script.
var4=$(find / -name "catalina.jar" ! -size 0 |egrep -v... (6 Replies)
Discussion started by: sravani25
6 Replies
LEARN ABOUT FREEBSD
sdpcontrol
SDPCONTROL(8) BSD System Manager's Manual SDPCONTROL(8)NAME
sdpcontrol -- Bluetooth Service Discovery Protocol query utility
SYNOPSIS
sdpcontrol -h
sdpcontrol -a address command [parameters ...]
sdpcontrol -l [-c path] command [parameters ...]
DESCRIPTION
The sdpcontrol utility attempts to query the specified Service Discovery Protocol (SDP) server. Remote SDP servers are identified by their
address. Connection to the local SDP server is made via the control socket. The sdpcontrol utility uses Service Search Attribute Requests
and prints results to standard output and error messages to standard error.
The options are as follows:
-a address
Connect to the remote device with the specified address. The address can be specified as BD_ADDR or a name. If a name was speci-
fied, the sdpcontrol utility attempts to resolve the name via bt_gethostbyname(3).
-c path
Specify path to the control socket. The default path is /var/run/sdp.
-h Display usage message and exit.
-l Query the local SDP server via the control socket.
command
One of the supported commands (see below). The special command help can be used to obtain a list of all supported commands. To get
more information about a specific command, use help command.
parameters
One or more optional space separated command parameters.
COMMANDS
The currently supported node commands in sdpcontrol are:
Browse
Search
EXIT STATUS
The sdpcontrol utility exits 0 on success, and >0 if an error occurs.
SEE ALSO bluetooth(3), sdp(3)AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com>
CAVEATS
The sdpcontrol utility only implements client side functionality.
The sdpcontrol utility only requests the following attributes from the SDP server:
1. Service Record Handle
2. Service Class ID List
3. Protocol Descriptor List
4. Bluetooth Profile Descriptor List
BSD February 7, 2015 BSD