01-04-2002
further help
When I look up ifconfig in the manual, it tells me that if I want to change any settings to edit the /etc/tcp file. When I go in to edit it, it just takes me to the next line, and everything I seem to type is not an editor command. Is there some way to actually show the file so I can see all the lines and freely edit them?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I change the IP address and gateway info on a unix server? (2 Replies)
Discussion started by: gguzman
2 Replies
2. UNIX for Dummies Questions & Answers
How can I change the gateway address on my sco Openserver 5.0.6. A cisco firewall is recently installed but the gateway on the system is still pointing at the old one.
I want it to use the gateway address of the router.
Please help. Thanks (2 Replies)
Discussion started by: sshokunbi
2 Replies
3. SCO
I am trying to find out if you can create an ACL for telnet sessions and restrict it to a certain subnet/IP range..
any information or where to look would be greatly appreciated.
thanks (1 Reply)
Discussion started by: marvin51796
1 Replies
4. Shell Programming and Scripting
Hmmm, tough question for me, so I put it here.
I am trying to use shell script or mysql to do the following thing.
tableA, in which all are single ips.
sip
-------
1.2.3.4
8.8.8.8
123.3.32.1
....
and tableB, a list of our group subnets.
subnet
---------
1.0.0.0/8
20.0.1.0/24 (2 Replies)
Discussion started by: fedora
2 Replies
5. Programming
how we can get the gateway address.
i know gethostname used for ipaddress
how we can get the system gateway address.
thank u inadvance,
sree (2 Replies)
Discussion started by: phani_sree
2 Replies
6. IP Networking
Hi all,
I installed Fedora 9 + squid at one of PC at work.
Our company has windows 2003 servera acting as DHCP server.
During installation, i set linux box up as Static IP (192.168.0.100)
But once installation completed, The pc is assigned a different IP address instead of 192.168.0.100.... (3 Replies)
Discussion started by: c00kie88
3 Replies
7. IP Networking
Hi,
My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information.
John (0 Replies)
Discussion started by: johnmarsh
0 Replies
8. IP Networking
Is there a command that can lookup ip address, subnet mask, gateway, and dns all at the same. I know ifconfig can lookup ip address and subnet mask. I know route -n can lookup gateway. Not sure about a dns command. So I hope there is a way to lookup ip address, subnet mask, gateway, and dns all at... (2 Replies)
Discussion started by: cokedude
2 Replies
9. Shell Programming and Scripting
I have an input file:
class 1 3 5 10.10.10..0/23 hicks jimmy
class 3 10.12.10.0/22 mike
class.019283 10.10.15.10/20 henry
gym.847585 45 192.168.10.0/22 nancy jim steve maya
The output should look like this:
10.10.10..0/23
10.12.10.0/22
10.10.15.10/20
192.168.10.0/22
I have the... (3 Replies)
Discussion started by: e_mikey_2000
3 Replies
10. Shell Programming and Scripting
I have this subnet file shown below. How can I calculate all ip addresses from that list
103.22.200.0/22
141.101.64.0/18
10.0.0.0/22I need to be able to read the subnet file and print all IPs in those subnet to an out put file (3 Replies)
Discussion started by: e_mikey_2000
3 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)