03-20-2010
You just store that in the file called .vimrc in your home directory .
10 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. 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
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
Hello everyone,
I am searching for a way to open a webpage out of the shell and then save it's source to a file. Simply using wget doesn't work as there is java involved.
So my idea was to open the URL in firefox (or any other browser) where it it can be opened and then save the source to a... (2 Replies)
Discussion started by: shimaric
2 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. UNIX for Dummies Questions & Answers
Hi all,
I was trying see some CPU utilization of a Red hat Linux machine using 'top' command.
Any way I got high level idea from the out puts,
but when I observed the following line:
Cpu(s): 7.4%us, 0.5%sy, 0.0%ni, 91.6%id, 0.4%wa, 0.0%hi, 0.1%si, 0.0%st
I couldn't make out what... (2 Replies)
Discussion started by: a99u
2 Replies
8. 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
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
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
ptest [-?Vv] -[Xxp] {other options}
DESCRIPTION
ptest - Calculate the cluster's response to the supplied cluster state
Superceeded by crm_simulate and likely to be removed in a future release
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-S, --simulate
Simulate the transition's execution to find invalid graphs
-s, --show-scores
Display resource allocation scores
-U, --show-utilization
Display utilization information
-a, --all-actions
Display all possible actions - even ones not part of the transition graph
-L, --live-check
Connect to the CIB and use the current contents as input
-X, --xml-text=value
Retrieve XML from the supplied string
-x, --xml-file=value
Retrieve XML from the named file
-I, --save-input=value
Save the input to the named file
-G, --save-graph=value
Save the transition graph (XML format) to the named file
-D, --save-dotfile=value
Save the transition graph (DOT format) to the named file
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)