11-13-2008
Yeah we ultimately decided the script and configs should go somewhere else (for now...). The /opt directory was where I had the stuff initially, before I was told to move it. It would seem that the "standards" are a bit varied and differ based on personal preference or company standards. For now, we have settled on a custom directory elsewhere. Thank you both for your input.
Cheers.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hello,
i have some troubles with someone who keeps posting porno links on my website ;)
I warned him because of it but since he only seems to like the attention i wanted to give him an IP ban. Anyone knows how i can place an IP ban with telnet on my unix server? (3 Replies)
Discussion started by: Martijn v/d Meu
3 Replies
2. Shell Programming and Scripting
Hiya I am fairly new to UNIX and have been asked to write some scripts....
I am working in the korn shell. What I am trying to do is to go through a delimited file:
Testingline1;test;test
Testingline2;test;test
and place the lines into an Array so:
Array = Testingline1;test;test
Array... (4 Replies)
Discussion started by: ThomasvdH
4 Replies
3. UNIX for Dummies Questions & Answers
grep `whoami` $1 >> file
this lets me take out the username from a file and then i move it to a file but i need it to do one step at a time because i want the occurences to be numbered like
1)HOME=/home/joe.bloggs
2)LOGNAME=joe.bloggs
instead of just
HOME=/home/joe.bloggs... (1 Reply)
Discussion started by: iago
1 Replies
4. Shell Programming and Scripting
Hello -
I am running Linux. I want to place a comment char at the beginning of a line in a file. For example:
testvar=`grep username /etc/people
sed -e 's/$testvar/#$testvar/g' /etc/people
I cannot get the above commands to put a comment at the beginning of the line.
Any... (3 Replies)
Discussion started by: mlike
3 Replies
5. Shell Programming and Scripting
Hi,
I have a small requriement to change a part of string in a sentence starting with "ho".
For E.g I am having the following statements:
I want to go to home,beach.
I will never go to that horrible,place.
Now I want to replace the string starting with "ho" in the above 2... (3 Replies)
Discussion started by: yoursdavinder
3 Replies
6. Shell Programming and Scripting
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies
7. Shell Programming and Scripting
Hello,
I need help in putting duplicate lines within a section into another file. Here is what I'm struggling with:
Using this file data.txt:
ABC1 012345 header
ABC2 7890-000
ABC3 012345 Header Table
ABC4
ABC5 593.0000 587.4800
ABC5 593.5000 587.6580 <= dup need to remove
ABC5... (4 Replies)
Discussion started by: petersf
4 Replies
8. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
9. Red Hat
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies
10. Shell Programming and Scripting
I need some help. I would like to read in a text file.
Take a variable such as ROW-D-01, compare it to what's in one line in the text file such as PROD/VM/ROW-D-01 and only input PROD/VM into a variable without the /ROW-D-01.
Is this possible? any help is appreciated. (2 Replies)
Discussion started by: xChristopher
2 Replies
uupick(1) General Commands Manual uupick(1)
NAME
uupick - Accepts or rejects files transmitted to a user by uuto
SYNOPSIS
uupick [-ssystem]
The uupick command accepts or rejects files that the uuto command has transmitted to a designated user ID.
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
uupick: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
Searches /usr/spool/uucppublic/receive/user/system only for files sent from the specified system. System names must contain only ASCII
characters.
DESCRIPTION
When the files have arrived, the rmail command notifies the recipient, who then issues the uupick command to receive and handle the files.
Specifically, uupick searches the public directory on the local system for files with some form of the following name:
/usr/spool/uucppublic/receive/user/system/file
where user is the user ID of the user issuing the command.
For each entry (file or directory) found, uupick displays the following message: from system: [file file] [dir directory] ?
The uupick command then waits for a response from standard input to determine the disposition of the file or directory. Issuing the uupick
command with the appropriate file-handling option completes the transfer.
File-Handling Options
After notifying the user that a file was sent from system, uupick displays a ? (question mark), prompting for one of the following file-
handling options: Displays all file-handling options. Moves on to the next entry in the receive directory. Moves all uuto files currently
in the receive directory into a specified directory on the local system. The default is the current working directory. Use a full or rel-
ative pathname to specify a different directory. Deletes the specified file. Moves the specified file to a specified directory. If
directory is not specified as a complete pathname, a destination relative to the current directory is assumed. If directory is not speci-
fied at all, the default is the current working directory on the local system. Displays the contents of the file on the terminal screen.
Stops processing and exits from uupick. Same as q. Escapes to a shell to run the specified command. After the command executes, it
returns automatically to uupick so you can continue to handle the uuto files in the receive directory.
NOTES
The uupick utility is marked LEGACY in XCU Issue 5.
EXAMPLES
To receive file1 sent with the uuto command from user msg on system zagreb, enter: uupick
The system responds: from system zagreb: file file1 ?
FILES
Public directory.
SEE ALSO
Commands: ct(1), cu(1), rmail(1), tip(1), uucico(8), uucleanup(8), uucp(1), uuencode(1), uulog(1), uuname(1), uusched(8), uusend(1), uus-
tat(1), uuto(1), uux(1)
Standards: standards(5)
uupick(1)