Thanks so much for the help! I modified my code to make a normal shell file instead of a nautilus script and ended up with this
and just put the files i want to convert in /home/nick/Desktop/Dose Files. Thanks for the help those few commands were exactly what i needed.
hi scripting experts,
juz wondering if it's possible to have multiple rsh command in a single script? :confused:
ie:
rsh -l <username> "<command>"
rsh -l <username> "<command>"
thanks.
regards,
wee :) (0 Replies)
I have 5 hosts and each host as 3 java process .I have one machine which has ssh keys so it can login without any passwords etc to all the machines.
How can I find out say jstack or some command so it goes to each machine and run the command . For example machine 1 has 3 java process and they... (2 Replies)
Hi,
I would like a shell script that reads all files in a directory and concatenate them. It is not a simple concatenation. The first few lines of the files should not be included. The lines to be included are the lines from where 'START HERE' appears up to the end of the file. For example, I... (4 Replies)
I am trying to come up with a script that will search for selected files and then email them to me.
For example, say I have a directory that has the following files:
AA_doug.txt
AA_andy.txt
BB_john.txt
APPLE_mike.txt
GLOBE_ed.txt
GLOBE_tony.txt
TOTAL_carl.txt
what is the best way to... (2 Replies)
Ok, so this question is probably much easier than I'm making it, and thus why I've spent almost 2 hours now on this :wall:. I'm trying to use a command that reads out specific data from a file and and saves it to another file. The code is only a few lines, and here it is below:
#!/bin/csh
... (4 Replies)
Hi,
I would like to ask some assistance about my new install sparc64 debian 6.0.3 in a sun blade 150 Hardware.i having this problem in a nautilus file manager in the below panel, it keeps open and closing (multiple file manager process starting and dying) this in result of 100 percent cpu load,... (0 Replies)
Hi
Can we run the linux command and per script in a single command
$ cd /usr/local/adm/ ;ctsv scmtest_qabuild ;cspec.pl scmtest
This is a combination of linux and clearcase command and last one is perl script with argument.
I can see the first and 2nd coomand is executing but last... (6 Replies)
Hello ,
I am trying to create a layer of file-tagging trough bash scripting and tlc/tk .
I have almost everything ready only needs to be able to launch nautilus (the gnome file manager) with a regular expresion; when searching information in internet with "script and nautilus", i only find... (3 Replies)
Hi I have folders 1 to 24 (24 folders in total) and inside those folders I have the same file names. I have a command that I want to run but rather than do it individually I was wondering if there is a command to run them all at once.
Thanks
Phil (3 Replies)
I have several problems with my problems: I hope you can help me.
1) the If else statement I am getting an error message. My syntax must be incorrect because the entire statement is throwing an error.
For example in filew.log if these items don't exist Memsize, SASFoundation and also if... (0 Replies)
Discussion started by: dellanicholson
0 Replies
LEARN ABOUT REDHAT
irc
irc(n) Low Level Tcl IRC Interface irc(n)
NAME
irc - Create IRC connection and interface.
SYNOPSIS
package require Tcl
package require irc ?0.2?
::irc::connection hostname
::irc::config key value
net registerevent event script
net connect
net user username localhostname userinfo
net nick nick
net ping
net join channel
net part channel
net privmsg target message
net send text
who ?address?
action
target ?index?
msg
DESCRIPTION
This package provides low-level commands to deal with the IRC protocol (Internet Relay Chat) for immediate and interactive multi-cast com-
munication.
::irc::connection hostname
The command creates a new object to deal with an IRC connection. Creating this IRC object does not automatically create the network
connection. It returns a new irc namespace command which can be used to interact with the new IRC connection.
::irc::config key value
Sets configuration key to value. Currently, the only config key defined is the boolean flag debug which, when turned on, makes irc
print more information about what is going on.
Per-connection Commands
In the following list of available connection methods net represents a connection command as returned by ::irc::connection.
net registerevent event script
Registers a callback handler for the specific event. Events available are those described in the IRC RFC: 1459. In addition, there
are several other events defined. defaultcommand adds a command that is called if no other callback is present. EOF is called if
the connection signals an End of File condition. script is executed in the connection namespace, which can take advantage of sev-
eral commands (see Callback Commands below) to aid in the parsing of data.
net connect
This causes the socket to be established. ::irc::connection created the namespace and the commands to be used, but did not actually
open the socket. This is done here.
net user username localhostname userinfo
Sends USER command to server. username is the username you want to appear. localhostname is the name of your server, and userinfo
is a short description of who you are.
net nick nick
NICK command. nick is the nickname you wish to use for the particular connection.
net ping
PING the IRC server.
net join channel
channel is the IRC channel to join. IRC channels typically begin with a hashmark ("#").
net part channel
Makes the client leave channel.
net privmsg target message
Sends message to target, which can be either a channel, or another user, in which case their nick is used.
net send text
Sends text to the IRC server.
Callback Commands
These commands can be used within callbacks
who ?address?
Returns the nick of the user who performed a command. The optional address keyword causes the command to return the user in the
format "username@address".
action Returns the action perfomed, such as KICK, PRIVMSG, MODE, etc... Normally not useful, as callbacks are bound to a particular event.
target ?index?
Returns the target of a particular command, such as the channel or user to whom a PRIVMSG is sent. In the case of multiple targets,
the optional index argument may be used to specify which one to return. The default is 0.
msg Returns the message portion of the command (the part after the :).
SEE ALSO
rfc 1459
KEYWORDS
irc, chat
irc 0.2 irc(n)