Wednesday, January 14, 2015

histsize and networking path

in which the following options are there? tell me the path

1)histsize
2)networking(yes or no)

i need above files path .....i mean in which of the files we use above options

_________________________________________________________________________________

we can change history size 

# vi /etc/profile
make changes in this file

_________________________________________________________________________________

For networking u can use this path:-   /etc/sysconfig/network

_________________________________________________________________________________
1)histsize

HISTSIZE is the number of lines or commands that are stored in memory in a history list while your bash session is ongoing.

HISTFILESIZE is the number of lines or commands that (a) are allowed in the history file at startup time of a session, 
            and (b) are stored in the history file at the end of your bash session for use in future sessions.



2)networking(yes or no)
[root@testserver ~]# cat /etc/sysconfig/network
NETWORKING_IPV6=yes
HOSTNAME=testserver

Many of the rpc/nfs related init scripts require NETWORKING=yes to be present for the scripts to successfully launch. 
Those scripts work just fine with an /etc/sysconfig/network which looks like this:

No comments:

Post a Comment