[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] prompt i shell.



Hejsa

Her er så lige en opsumering af indholdet i de forskellige filer som jeg har 
rettet i:

/etc/sysconfig/network

	NETWORKING=yes
	HOSTNAME=localhost.localdomain
	DOMAINNAME=localdomain

/etc/sysconfig/network-scripts/ifcfg-eth0

	DEVICE=eth0
	BOOTPROTO=dhcp
	NETMASK=255.255.255.0
	ONBOOT=yes
	MII_NOT_SUPPORTED=yes
	NEEDHOSTNAME=no

/etc/HOSTNAME

	HOSTNAME=localhost


.bashrc

	# .bashrc
	
	# User specific aliases and functions
	
	# Source global definitions
	if [ -f /etc/bashrc ]; then
		. /etc/bashrc
	fi
	export PS1="sslug@sslug/\W]$ "

/home/mads/.bashrc

	# .bashrc
	
	# User specific aliases and functions
	
	# Source global definitions
	if [ -f /etc/bashrc ]; then
		. /etc/bashrc
	fi
	export PS1="sslug@sslug/\W]$ "

/home/olivia/.bashrc

	# .bashrc
	
	# User specific aliases and functions
	
	# Source global definitions
	if [ -f /etc/bashrc ]; then
		. /etc/bashrc
	fi
	export PS1="sslug@sslug/\W]$ "

root/.bashrc

	# .bashrc
				  	
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
	ENV=$HOME/.bashrc
	USERNAME="root"
	export USERNAME ENV PATH
	
	# Source global definitions
	if [ -f /etc/bashrc ]; then
		. /etc/bashrc
	fi
	export PS1="sslug@sslug/\W]# "

Men Men:

skriver jeg "hostname" ved en promt kommer flg frem:

	x1-6-00-0a-e6-17-e4-f1		skulle vel være = localhost 

som overskrift i titellinien i shell står der:


sslug@sslug:/home/mads		skulle vel være = 
sslug@sslug:/home/mads

???

puuuha, hvad så nu ?



-- 
vh.
Mads H H Madsen
www.madsmadsen.esenet.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:16 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *