Hi,
Is it possible to accept a filename as command line parameter and then write to that file using command redirection? i tried the below script.
outputfile=`echo $1`
echo "Writing to file" > 'echo $outputfile'
exit $returncode
but it isnt working. is there any other way to... (9 Replies)
hi
i have a file contains data
Line timeout:
START->SIGNON_REPLY,
SIGNON_REPLY->SIGNON,
Received SOT req
SOT request:
SIGNON->SOT_REPLY,
SOT_REPLY->DATA_RECEIVE,
DATA_RECEIVE->EOD,
i need to write into one line , separated by commas
please help
thanks
Satya (2 Replies)
Hi,
I'm reading and writing a line from one file to another.
Input line is like this:
My name is David. Working on a shell script now.
When I use "echo" or "print" output comes like this,
My name is David. Working on a shell script now.
Sample... (7 Replies)
I need to write value of variable $version at a particular line in a text file.
Line number is determined by another variable &line......I don't know how to do it in shell script ... (2 Replies)
Hi,
I have to write s script to check an input file for invalid characters. In this script I have to find the exact line of the invalid character. If the input file contain 2 invalid character sat line 10 and 17, the script will show the value 10 and 17. Any help is appreciated. (3 Replies)
Dear All,
I have a question that's been difficult to get an answer to.
I often write command line loops, e.g. find files, print name, grep for term, apply sed, etc
I use both zsh and bash.
When I write a loop e.g.
for line in `more myfile.txt`
> do
> echo $line
> done
but... (2 Replies)
Given a particular line number and a corresponding column number, can i write something in the file during run time?
For example x=1 and during runtime i want to write the value of x in column 100 of every line of a given file, then how shud that be done?
Thanks (9 Replies)
Hi,
I have one input file with the following content:
MY_inpfile.txt
Aname1 Cname1 Cname2 1808 5
Aname2 Cname1 1802 47
Bname1 ? 1819 22
Bname2 Cname1 1784 11
Bname3 1817 9
Zname1 Cname1 1805 59
Zname2 Cname1 Cname2 Cname3 1797 27
Every line in my input file have a 4 digit... (5 Replies)
Hello
I am facing a very unique problem and not able to understand why. I have written a function which will check header of the file. If header is present good else it will write the header on top
def writeHeaderOutputCSV(fileName):
# See if the file exist already
try:
... (0 Replies)
Discussion started by: radioactive9
0 Replies
LEARN ABOUT DEBIAN
anyremote
anyRemote(1) General Commands Manual anyRemote(1)NAME
anyremote - control PC with Bluetooth/Wi-Fi cell phone .br
SYNOPSIS
anyremote [-f file] [-s connect string] [-log] [-a]
[-fe port] [-http] [-u username] [-name SDP service name] [-password]
anyremote -h|-v .br
DESCRIPTION
The overall goal of this project is to provide remote control service on Linux through Bluetooth, Wi-Fi or just TCP/IP connection.
anyRemote supports wide range of modern cell phones like Nokia, HTC, SonyEricsson, Motorola and others.
It was developed as thin "communication" layer between Bluetooth (IR, Wi-Fi)-capabled phone and Linux, and in theory could be configured to
manage almost any software.
anyRemote is console application, but in addition there are GUI front-ends for Gnome and KDE.
OPTIONS -h
print short help and exit
-v
print version number and exit
-f /path/to/configuration/file
By default anyremote will try to find and use $HOME/.anyremote.cfg, then ./.anyremote.cfg. It is possible to specify configuration file
directly with -f option.
-s connect string
where connect string can be one of:
bluetooth:_channel_ (Server mode - bluetooth connection)
socket:_port_ (Server mode - TCP/IP connection)
web:_port_ (Server mode - Web interface)
local:/dev/ircommX (Server mode - IR connection)
rfcomm:XX:XX:XX:XX:XX:XX:CC (AT mode - bluetooth connection, where XX:XX:XX:XX:XX:XX is bluetooth device address and CC is channel
number - integer from 1 to 32)
/dev/ttyACM# (AT mode - cable connection)
/dev/ircomm# (AT mode - IR connection)
ilirc:_AF_LOCAL socket file_ (use with inputlircd)
stdin
-log
print verbose logging information to $HOME/.anyRemote/anyremote.log
-a
reconnect automatically in case of connection failure, used only in AT-mode
-fe _port_
Work as backend for GUI frontend. Use specified port to connect to frontend.
-name SDP_service_name
if bluetooth connection is used, allows one to specify SDP service name.
Default value for SDP service name is "anyRemote"
-password
If this option is specified, then anyRemote will ask the client for the password.
Password phrase should be stored in $HOME/.anyRemote/password file in plain text.
-u|--user _username_
if started from root, allows one to set effective user ID to specified user
.br
AUTHORS
Mikhail Fedotov anyremote@mail.ru
http://anyremote.sf.net .br
BUGS
If you find any bugs, please report to anyremote@mail.ru .br
LICENCE
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
http://www.gnu.org/licenses/gpl.html. There is NO WARRANTY, to the extent permitted by law.
May 11, 2012 anyRemote(1)