08-07-2010
vi next buffer
Hello,
I am using vi to edit file
vi filea
:e fileb
and :e# to switch between filea and fileb
Now, I'd like to have many files open at the same time and have a way to cycle between them.
:bn does not work; when I type it, nothing happens...
Is there something to add to the configuration file? or maybe a better command
Thank you
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
if someone now how can look
the last commands has used for last week? (1 Reply)
Discussion started by: Niko
1 Replies
2. UNIX for Advanced & Expert Users
i have a serious doubht about the assignment of memory
in hp-ux system .
i read from somewhere that the page allocation in
hp-ux is not unified unlike compaq .
i wanted to know in hp-ux kernel ,once the pages are
assigned for the univarsal buffer cache... (2 Replies)
Discussion started by: vish_shan
2 Replies
3. Programming
Hai Friends
I am writing a cgi program in C. The CGI program has a link to start my tcp chat server... The tcp chat server prints some information when it starts... I have captured the informations and sent to the client browser through the cgi program... But the output is displayed all... (6 Replies)
Discussion started by: collins
6 Replies
4. UNIX for Dummies Questions & Answers
Hi... I have a question about how many lines the window can remember... is there an environemtn varible for this I can change??? I'm not talking about how many previous commands it remembers. I am talking about how many lines it remembers and for how many lines I can press "page-up" and I can... (4 Replies)
Discussion started by: lmanchur.
4 Replies
5. HP-UX
What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies
6. Linux
Hi guys,
Currently i have a IBM x366 running on Red Hat 4 attached to a DS4800. I've configured 10 LUNs to the server. Somehow, there is a lot buffer io error on device whenever it boot and when i issue the command dmesg.
My kernel is 2.6.9-22.ELsmp. I've updated the hba qla2300 firmware to... (2 Replies)
Discussion started by: raybakh
2 Replies
7. UNIX for Dummies Questions & Answers
this question is probably trivial to most of you but i do not have the answer.
the task is simple...
yank 7 lines of text from one file and paste them to another
so while in command mode i enter
"b7yy and i get 7 lines yanked
exit vi with :q!
open the new file
while in command mode i... (2 Replies)
Discussion started by: cookiebooy
2 Replies
8. Shell Programming and Scripting
Hi. I have some questions about using sed. I cannot use the hold buffer. For example i want to put first line to the buffer than take second line and append the buffer to the second line.then 3th to the all. It will be like 2->1->3 th lines. Any idea? (1 Reply)
Discussion started by: burakkilic
1 Replies
9. Programming
Hello,
size_t write(int fd, const void *buf, size_t count)
{
static size_t (*write_func)(int, const void *, size_t) = NULL;
if (!write_func)
write_func = (size_t(*)(int, const void *, size_t)) dlsym(RTLD_NEXT, "write");
char tmp;
memcpy(tmp,buf,count);
... (3 Replies)
Discussion started by: chercheur857
3 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
My problem is that when creating my producers and consumers, if I don't create an equal number of both, the... (12 Replies)
Discussion started by: digitalbrainiac
12 Replies
LEARN ABOUT LINUX
npm-config
NPM-CONFIG(1) NPM-CONFIG(1)
NAME
npm-config - Manage the npm configuration files
SYNOPSIS
npm config set <key> <value> [-g|--global]
npm config get <key>
npm config delete <key>
npm config list [-l] [--json]
npm config edit
npm get <key>
npm set <key> <value> [-g|--global]
aliases: c
DESCRIPTION
npm gets its config settings from the command line, environment variables, npmrc files, and in some cases, the package.json file.
See npm help 5 npmrc for more information about the npmrc files.
See npm help 7 npm-config for a more thorough discussion of the mechanisms involved.
The npm config command can be used to update and edit the contents of the user and global npmrc files.
Sub-commands
Config supports the following sub-commands:
set
npm config set key value
Sets the config key to the value.
If value is omitted, then it sets it to "true".
get
npm config get key
Echo the config value to stdout.
list
npm config list
Show all the config settings. Use -l to also show defaults. Use --json to show the settings in json format.
delete
npm config delete key
Deletes the key from all configuration files.
edit
npm config edit
Opens the config file in an editor. Use the --global flag to edit the global config.
SEE ALSO
o npm help 5 folders
o npm help 7 config
o npm help 5 package.json
o npm help 5 npmrc
o npm help npm
January 2019 NPM-CONFIG(1)