10-30-2008
I dont have .kshrc file in my home dir , can I create it and check.
Nivas P
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
can anyone tell me how to save a file from command line?
Any help appreciated. (2 Replies)
Discussion started by: hufs375
2 Replies
2. Programming
Hello! I have a problem:
I compile some function, which must save file:
=====================
// prog.cpp
void save_file(){
FILE *fs = fopen("file.txt", "w");
if(!fs) cerr<< "cannot save";
fprintf(fs, "This is a text file.");
fclose(fs)
}
=====================
If i compile it from... (8 Replies)
Discussion started by: szzz
8 Replies
3. UNIX for Dummies Questions & Answers
i just typed out a letter but want to hang on to it i typed it out in vi and was wondering how to save and exit from it? also how do you S&E from emacs since those are the two editors i mainly use any help would be appreciated (2 Replies)
Discussion started by: hiei
2 Replies
4. 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
5. UNIX for Dummies Questions & Answers
I edit crontab with vi editor, i delete the lines i wanted, but i can't save!
i tried the :w, :wq, ZZ commands and it seems like vi is unfamiliar with it.
any suggestions? (3 Replies)
Discussion started by: idan_cn
3 Replies
6. 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
7. 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
8. 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
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
LEARN ABOUT DEBIAN
keepalived
keepalived(8) System Manager's Manual keepalived(8)
NAME
keepalived. - keepalive demon
SYNOPSIS
/usr/sbin/keepalived [-n] [-f keepalived.conf] [-d] [-h] [-v]
DESCRIPTION
The keepalived The keepalived server implements the vrrpd routing demon which enables routing failover for a pair (or set) of routers (or
LVS directors) and the keepalived demon which sets up and does the health checking of virtual services in a Linux Virtual Servier.
OPTIONS
--vrrp, -P
Only run the VRRP subsystem.
--check, -C
Only run the healthchecker subsystem.
--dont-release-vrrp, -V
leave (don't remove) VRRP VIPs & VROUTEs on daemon stop.
--dont-release-ipvs, -I
Dont remove IPVS topology on daemon stop.
--dont-fork, -n
Dont fork the daemon process.
--use-file, -f keepalived.conf_file
Use the specified configuration file.
--wdog-vrrp, -R
Define VRRP watchdog polling delay (default=5s)
--wdog-check, -H
Define healthchecker's watchdog polling delay (default=5s)
--dump-conf, -d
Dump the configuration data.
--log-console, -l
Log messages to local console.
--log-detail, -D
Detailed log messages (the default with the rc script provided).
--log-facility, -S
0-7 Set syslog facility to LOG_LOCAL[0-7] (default=LOG_DAEMON)
--help, -h
Display a short inlined help screen.
--version, -v
Display the version number.
FILES
/etc/keepalived/keepalived.conf
SEE ALSO
keepalived.conf(5)
AUTHORS
Joseph Mack
from inspection of the output of keepalived --help from keepalived-1.1.4
Jan 2004 keepalived(8)