10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone help me how to convert a .csv file to a .pdf file using shell script
Thanks (2 Replies)
Discussion started by: ssk250
2 Replies
2. HP-UX
Hi All,
I want to delete all core* files in below file system in Unix server.
File system: /usr/sap/P01/JC00/j2ee/cluster/server0
I want to setup a cron job every ten minutes to delete the core *files
Thanks
N Rao (2 Replies)
Discussion started by: YNRao24
2 Replies
3. Shell Programming and Scripting
Hi All,
I want to delete all core* files in below file system in Unix server.
File system: /usr/sap/P01/JC00/j2ee/cluster/server0
I want to setup a cron job every ten minutes to delete the core *files
Thanks
N Rao
This thread duplicates another thread with the same title: Need... (1 Reply)
Discussion started by: YNRao24
1 Replies
4. Shell Programming and Scripting
:eek:Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this
What I want to do is to be able to accept the password in a script.
In linux with the "useradd' command you can give the "-p" flag to accept the... (3 Replies)
Discussion started by: slufoot80
3 Replies
5. Shell Programming and Scripting
:eek:Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this
What I want to do is to be able to accept the password in a script.
In linux with the "useradd' command you can give the "-p" flag to accept the... (1 Reply)
Discussion started by: slufoot80
1 Replies
6. Shell Programming and Scripting
Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this
What I want to do is to be able to accept the password in a script.
In linux with the "useradd' command you can give the "-p" flag to accept the... (1 Reply)
Discussion started by: slufoot80
1 Replies
7. Shell Programming and Scripting
Hi folks,
As per mentioned in the title, how to create a shell script to delete those files from the server at 00000hrs every day?
Thanks in advance :) (2 Replies)
Discussion started by: kimurayuki
2 Replies
8. Shell Programming and Scripting
Requirement:-
SQLs
select name from v$datafile;
select name from v$controlfile;
select name from v$tempfile;
select MEMBER from v$logfile;
These sqls has to run in one script and o/p of each sql has to write in seperate files.But the o/p is like if we issue
select name from... (2 Replies)
Discussion started by: Sanal
2 Replies
9. Shell Programming and Scripting
Hi folks,
I have a input.file with the following contents:-
flor
geor
enta
vpal
domi
pegl
cars
mted
four
rose
annc
gabi
ward
dalv
elph
beac (8 Replies)
Discussion started by: mithalr
8 Replies
10. Solaris
I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9... (3 Replies)
Discussion started by: vinaysa
3 Replies
SHAR(1) BSD General Commands Manual SHAR(1)
NAME
shar -- create a shell archive of files
SYNOPSIS
shar file ...
DESCRIPTION
shar writes an sh(1) shell script to the standard output which will recreate the file hierarchy specified by the command line operands.
Directories will be recreated and must be specified before the files they contain (the find(1) utility does this correctly).
shar is normally used for distributing files by ftp(1) or mail(1).
SEE ALSO
compress(1), mail(1), uuencode(1), tar(1)
BUGS
shar makes no provisions for special types of files or files containing magic characters.
EXAMPLES
To create a shell archive of the program ls(1) and mail it to Rick:
cd ls
shar `find . -print` | mail -s "ls source" rick
To recreate the program directory:
mkdir ls
cd ls
...
<delete header lines and examine mailed archive>
...
sh archive
HISTORY
The shar command appears in 4.4BSD.
SECURITY CONSIDERATIONS
It is easy to insert trojan horses into shar files. It is strongly recommended that all shell archive files be examined before running them
through sh(1). Archives produced using this implementation of shar may be easily examined with the command:
egrep -v '^[X#]' shar.file
4.4BSD June 6, 1993 4.4BSD