7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a shell script where a lot of the code is repeated. I wanted to make the code much more compact so I spoke to a guy and he suggested using arrays, like follows:
#!/bin/bash
readonly -a nginx=('nginx' '--prefix=/opt' '-j 4'
'http://nginx.org/download/nginx-1.2.2.tar.gz'
)... (2 Replies)
Discussion started by: Spadez
2 Replies
2. UNIX for Dummies Questions & Answers
I'm new in the UNIX world. I'm just wondering what are the different examples of unix distributions? (2 Replies)
Discussion started by: j3ff_skull
2 Replies
3. Ubuntu
I need some assistance formatting a compact flash card in Ubtunu.
I connect up the CF card through a USB reader. Ubuntu recognizes the reader usb device, but does not "mount" the CF card as a device.
The CF card was formatted in FAT32 format.
Any help would be greatly appreciated.... (3 Replies)
Discussion started by: genesis211
3 Replies
4. Shell Programming and Scripting
Hello Group,
Could you please help me with a shell script that condense in this case each 12 rows of hour information in only one row per day as following:
Final Fields in each row
1.Ticker Name
2. D (Daily)
3. Date
4. Open Price (The open price of the first record of the day)
5. High... (13 Replies)
Discussion started by: csierra
13 Replies
5. Shell Programming and Scripting
Hi Experts!!!!
Tried a lot but in vein,no success, please help to achieve this
LOGIC behind is first field is reffrance row field, the second field shoud be made titles of coulmn and the the third field is made as matrix value.
And if they dont match the matrix value should be 0. (Unix (Shell,... (1 Reply)
Discussion started by: ashis.tewari
1 Replies
6. Slackware
hi,
as you know nearly every distribution has its own package-management and it needs special packages to install different software.
For slackware it's *.tgz, for debian *.deb, for many rpm's *.rpm and so on, but I wonder how a package can be built to be compatibel with every maschine.
An... (2 Replies)
Discussion started by: avaurus
2 Replies
7. Windows & DOS: Issues & Discussions
:confused: I tryied to use the mount Command (and the msdos.utils) in Darwin 1.4 (OS X) to format a Compact Flash in DOS Format (I had already this native format but I changed it with Disk Utility in MacOS standard and the PC Card slot of a Windows 98-Laptop can't nore read the card) I want to... (1 Reply)
Discussion started by: dreamsurfer
1 Replies
CTLUSER(8) System Manager's Manual CTLUSER(8)
NAME
ctluser - control lusers
SYNOPSIS
ctluser [ -h ] [ -m ] command [ argument... ]
DESCRIPTION
Ctluser sends a message to the control channel of a given luser(8) This command can only be run by the sysadmin(1)
In the normal mode of behavior, the message is sent to the luser's brain, which then performs the requested action and sends back a reply
with a text message and the exit code for ctluser. If the luser's brain successfully performed the command, ctluser will exit with a sta-
tus of zero and print the reply on standard output.
The ``-m'' flag is used to display an MPEG of the results of the given command on the console of the sysadmin(1) Note that this requires
the sysadmin(1) to be running an X server.
To see a command summary, use the ``-h'' flag. If a command is included when ctluser is invoked with the ``-h'' flag, then only the usage
for that command will be given.
The complete list of commands follows. Note that all commands have a fixed number of arguments. If a parameter can be an empty string,
then it is necessary to specify it as two adjacent quotes, like "".
addhist <entry>
Add an entry to the luser's employment record.
allow reason
Allow a luser to use the computer system again. The reason must be the same text given with an earlier ``reject'' command. Note
that this command is currently not implemented.
begin name
Begin a new luser(1) with the given file. Note that this command is currently not implemented.
cancel pid
Causes a process of a luser to be killed
changegroup group
Changes a luser from their current workgroup to the one specified.
checkfile
Forces a user to return to a paper based system
drop Causes a large mass to drop onto the luser from a great height.
flushlogs
Destorys all logs of the actions done by the sysadmin(1) to the luser.
go reason
The luser is fired for the given reason.
hangup Makes the luser hang themselves
mode Displays the operating mode of the luser
newgroup group
Causes a luser to make their own newgroup up
pause thought
Makes the luser pause for the given thought. Note that this may cause some lusers to crash
shutdown reason
Makes the luser shutdown. This is essentially the same as killing them
signal sig
Sends the given signal to the luser
throttle reason
Causes the luser to throttle themselves
trace item flag
Gives the sysadmin(1) information on what the luser is doing.
BUGS
Ctluser sometimes has the effect of lusers complaining the to management. The use of bosskill(8) maybe required at this point.
HISTORY
Written by Simon Burr <simes@tcp.co.uk>. Based upon the manual page for ctlinnd(8), part of the InterNetNews system.
SEE ALSO
luser(1), sysadmin(1), bosskill(8)
19 October 1995 CTLUSER(8)