09-19-2012
That we know...
But we would have liked to see the original input file...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi All
I have a scritp running which connects to a local host and then gets a value from a field and then ftp that value to antoher server. It is running fine, and from crontab it gives the output to a file, the problem is sometime it doesnt run but if i check the output file it does not show one... (0 Replies)
Discussion started by: imran721
0 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I have a network drive that has a directory named "music". In music I have a ton of folders of artists then albums then songs. I wanted to print out all of the songs ordered by artists then albums.
I was trying:
*********************
du -ka | sort
*********************
... (4 Replies)
Discussion started by: Imhotep1963
4 Replies
3. UNIX for Dummies Questions & Answers
HI,
while using banner command, i am not getting the full content in the screen:
banner "UNIX AUTOMATION"
# # # # ### # # # # # ####### ####### # #
# # ## # # # # # # # # # # # ## ##
# # # # # # ... (5 Replies)
Discussion started by: pandeesh
5 Replies
4. UNIX for Advanced & Expert Users
Hi guys (& ladies) :)
I'm looking for some good linux distribution to use on my new project.
The project looks like this:
- tiny computer (ethernet, D-sub, usb, etc),
- big-screen monitor (min 40'').
All it has to do is to display some .swf advertisement in fullscreen mode. (plus some extra... (4 Replies)
Discussion started by: sulti
4 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone,
I have UNIX this semester and I am just getting started with the commands. An interesting question came up while discussing the head and tail commands.
Suppose that I have text file with the following data in the following format-:
NAME ROLL MARKS
Sam 05 ... (2 Replies)
Discussion started by: sreyan32
2 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
You are given a ANSI text file (a.txt) in the following format and with the following contents-:
NAME ROLL... (7 Replies)
Discussion started by: sreyan32
7 Replies
7. Shell Programming and Scripting
Hi Team,
Not getting the file output inside my email which i am sending from unix box. . Please refer the below code :
#!/bin/sh
{
sleep 5
echo ehlo 10.56.185.13
sleep 3
echo mail from: oraairtel@CNDBMUREAPZP02.localdomain
sleep 3
echo rcpt to: saurabhtripathi@anniksystems.com... (1 Reply)
Discussion started by: tripathi1990
1 Replies
8. Shell Programming and Scripting
Hi All,
I want to send the csv to an email address.
I have tried the below two approaches.
Approach1: Got error -ksh: uuencode: not found
$ uuencode test_file.csv test_file.csv | mailx -s "Attaching test" msdc.kiran@gmail.com </usr/home/test_file.csv
-ksh: uuencode: not found
Approach2:... (6 Replies)
Discussion started by: ROCK_PLSQL
6 Replies
9. Shell Programming and Scripting
Hi Gurus,
I am SQL developer and new unix user.
I need to create some file and file content based on information in two files.
I have one file contains basic information below file1 and another exception file file2. the rule is if "zone' and "cd" in file1 exists in file2, then file name is... (13 Replies)
Discussion started by: Torhong
13 Replies
10. Shell Programming and Scripting
Greetings Experts,
I am on AIX using ksh; I am processing the input files and generating a awk_output.txt file using AWK. By reading that awk_output.txt file, I am building a output.html file which is cat and then fed to /usr/sbin/sendmail .When the shell script is triggered through command... (2 Replies)
Discussion started by: chill3chee
2 Replies
LEARN ABOUT REDHAT
mkdtemp
MKDTEMP(3) Linux Programmer's Manual MKDTEMP(3)
NAME
mkdtemp - create a unique temporary directory
SYNOPSIS
#include <stdlib.h>
char *mkdtemp(char *template);
DESCRIPTION
The mkdtemp() function generates a uniquely-named temporary directory from template. The last six characters of template must be XXXXXX and
these are replaced with a string that makes the directory name unique. The directory is then created with permissions 0700. Since it will
be modified, template must not be a string constant, but should be declared as a character array.
RETURN VALUE
The mkdtemp() function returns a pointer to the modified template string on success, and NULL on failure, in which case errno is set appro-
priately.
ERRORS
EINVAL The last six characters of template were not XXXXXX. Now template is unchanged.
Also see mkdir(2) for other possible values for errno.
CONFORMING TO
Introduced in OpenBSD 2.2. Available since glibc 2.1.91.
SEE ALSO
mkdir(2), mkstemp(3), mktemp(3), tmpnam(3), tempnam(3), tmpfile(3)
GNU
2001-10-07 MKDTEMP(3)