01-24-2012
he gave me hint. using rm
7 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
2. Shell Programming and Scripting
Hi all,
I just spent 30hours writing a script (my first) that makes extensive use of the find command on my mac os x terminal and which was meant to be run as a cron job on my server. The script is an automated backup system for a bunch of source control repositories. On the mac it works... (6 Replies)
Discussion started by: cpower
6 Replies
3. Shell Programming and Scripting
Hi there,
i have a question.
I have a folder called /usr/test
There is a file in it.... test.csv
I need not a shell script that checks if there is a file called: test.del
And if the file is in the same folder then the script should delete the test.csv and also the test.del.
Hope... (9 Replies)
Discussion started by: Bjoern28
9 Replies
4. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
5. UNIX for Advanced & Expert Users
Hi Experts,
I would like to know in Linux any command which will replace a file without affecting the running process.
I tried the mv command bug the running process is not taking the new file.
Any rsync option is available like this for not affecting the current process.
Thanks in... (7 Replies)
Discussion started by: ThobiasVakayil
7 Replies
6. Shell Programming and Scripting
1 echo -e "Enter a filename"
2 read filename
3 if
4 then
5 echo -e "do you want to delete?"
6 read answer
7 if
8 then rm myfirst
9 else
10 echo -e "file not deleted"
11 fi
12 exit0 (1 Reply)
Discussion started by: Speedy
1 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
are the oracle dump files compatible to direct import into db2?
I already tried many times but it always truncated results.
anyone can help/ advice or suggest?
2. Relevant commands, code, scripts, algorithms:
exp... (3 Replies)
Discussion started by: Sonny_103024
3 Replies
LEARN ABOUT DEBIAN
shishi_tkts_get_tgt
shishi_tkts_get_tgt(3) shishi shishi_tkts_get_tgt(3)
NAME
shishi_tkts_get_tgt - API function
SYNOPSIS
#include <shishi.h>
Shishi_tkt * shishi_tkts_get_tgt(Shishi_tkts * tkts, Shishi_tkts_hint * hint);
ARGUMENTS
Shishi_tkts * tkts
ticket set handle as allocated by shishi_tkts().
Shishi_tkts_hint * hint
structure with characteristics of ticket to begot.
DESCRIPTION
Get a ticket granting ticket (TGT) suitable for acquiring ticket matching the hint. I.e., get a TGT for the server realm in the hint
structure (hint->serverrealm), or the default realm if the serverrealm field is NULL. Can result in AS exchange.
Currently this function do not implement cross realm logic.
This function is used by shishi_tkts_get(), which is probably what you really want to use unless you have special needs.
RETURN VALUE
Returns a ticket granting ticket if successful, or NULL if this function is unable to acquire on.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_tkts_get_tgt(3)