05-27-2002
It's called redirection...
eg: # ls -al > filename
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi i would like someone to assist me to find out how i can Write a script called save which copies a file into a special directory, and another called recover which copies a file back out of the special directory. The user of the script should not be aware of the location of the special directory... (2 Replies)
Discussion started by: swainaina
2 Replies
2. UNIX for Advanced & Expert Users
There is a file A.lcf.
I am updating the file and saving it .
But as soon as I am logging off and then logging in I am finding that the updated changes are not there in the file. (5 Replies)
Discussion started by: suchismitasuchi
5 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
How can I add the current session command history to .bash_history?
During a session, I type several commands.
If I close my session, those commands are added to the file .bash_history.
But if my session crashes or just if I loose connection, those commands are lost.
Is there... (6 Replies)
Discussion started by: chebarbudo
6 Replies
4. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
5. Shell Programming and Scripting
Hi, ¿how i can to save abbrevations in vi? (4 Replies)
Discussion started by: Leo Gutierrez
4 Replies
6. UNIX for Dummies Questions & Answers
is i want to sort or delete lines etc etc to a file, how do i save the changes.
example i do sort file > file
when i do cat file, all data is erased.
thanks. (2 Replies)
Discussion started by: hobiwhenuknowme
2 Replies
7. Post Here to Contact Site Administrators and Moderators
I have run into old threads/posts that I'd like to save for future reference.
Is there a way to mark the thread or save to my favorite? Is this the same as subscribing? I don't really want to subscribe. I just want to save something I find interesting I can come back to later.
Thanks. (2 Replies)
Discussion started by: giannicello
2 Replies
8. Shell Programming and Scripting
Hi all,
my log server is completely full with logs.
I have used gzip to compress logs, but as i tried, 7z has a better compression, it saves the half size of my server. I want to uncompress .gz files, then compress them to .7z
Can you please help me with a script that does this:
1.... (2 Replies)
Discussion started by: arrals_vl
2 Replies
9. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
10. UNIX for Dummies Questions & Answers
If I have a A.log
1 Air Flow Monitor : 34.070 Degrees C
2 Air Flow Monitor : 41.730 Degrees C
3 Air Flow Monitor : 35.340 Degrees C
4 Air Flow Monitor : 33.370 Degrees C
5 Air Flow Monitor : 36.770 Degrees C
6 Air Flow Monitor : 45.910 Degrees C
7 Air Flow Monitor ... (1 Reply)
Discussion started by: sabercats
1 Replies
LEARN ABOUT ULTRIX
krb_set_srvtab_string
krb_set_tkt_string(3krb) krb_set_tkt_string(3krb)
Name
krb_set_tkt_string, krb_set_srvtab_string - Environmental setup of the Kerberos libraries
Syntax
#include <krb.h>
void krb_set_tkt_string (filename)
char *filename
void krb_set_srvtab_string (filename)
char *filename
Arguments
filename
The filename of the Kerberos ticket cache file or the name of the service table file.
Description
The routine sets the default name of the file that holds a cache of service tickets and associated session keys belonging to a Kerberos
principal. The routine accepts a filename for the cache and copies this name into the local storage of The default before any calls to is
is the user ID of the process that calls
You should call krb_set_tkt_string during Kerberos initialization to assure that any routines called later receive the proper name if they
require the filename of the cache.
The routine sets the default name of the file that stores the keys of the Kerberos applications running on the local host. The routine
accepts a filename for the service table file and copies this name into the local storage of
You should call krb_set_srvtab_string during the Kerberos initialization of a service to assure that any subsequently called routines that
require the filename of the service table receive the proper name. The default, before any calls to the string, is
Files
See Also
kerberos(3krb), krb_sendauth(3krb), krb_sendmutual(3krb)
krb_set_tkt_string(3krb)