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
bthidcontrol
BTHIDCONTROL(8) BSD System Manager's Manual BTHIDCONTROL(8)NAME
bthidcontrol -- Bluetooth HID control utility
SYNOPSIS
bthidcontrol -h
bthidcontrol [-a BD_ADDR] [-c file] [-H file] [-v] command
DESCRIPTION
The bthidcontrol utility can be used to query remote Bluetooth HID devices, dump HID descriptors in human readable form and perform simple
manipulations on the Bluetooth HID daemon configuration files.
The bthidcontrol utility will print results to the standard output and error messages to the standard error.
The options are as follows:
-a BD_ADDR
Specify BD_ADDR for the HID device. Example: -a 00:01:02:03:04:05.
-c file
Specify path to the Bluetooth HID daemon configuration file. The default path is /etc/bluetooth/bthidd.conf.
-H file
Specify path to the Bluetooth HID daemon known HIDs file. The default path is /var/db/bthidd.hids.
-h Display usage message and exit.
-v Be verbose and show items that are being used for padding.
command
One of the supported commands (see below). Special command help can be used to obtain the list of all supported commands. To get
more information about specific command use help command.
COMMANDS
The currently supported node commands in bthidcontrol are:
Query
Dump
Known
Forget
FILES
/etc/bluetooth/bthidd.conf
/var/db/bthidd.hids
EXIT STATUS
The bthidcontrol utility exits 0 on success, and >0 if an error occurs.
SEE ALSO bthidd(8)AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com>
BSD October 30, 2006 BSD