modify /etc/hosts
hostname
check with cat /proc/sys/kernel/hostname
key : how to change a hostname linux
touch a filename quota, not to create a folder quota. Rename it or remove the folder.crontab -e gives some random number, and you didn't see any existing cron, might be you didn't set your EDITOR variable:$ EDITOR=/usr/bin/vi
$ export EDITOR
$ crontab -e
df output. This is important because some program require user to input size in blocks such as ulimit.ulimit manpage, I read an option which is -c The number of 512-byte blocks on the size of core dumps.df output:/export/home (/dev/dsk/c0t0d0s7 ):53645828 blocks 3232280 filesdf -b:/dev/dsk/c0t0d0s7 26822914finger 79/tcp
ssh 80/tcp # customized port
ssh 80/udp # customized port
#www 80/tcp http # WorldWideWeb HTTP
#www 80/udp # HyperText Transfer Protocol
link 87/tcp ttylink
Files to edit/change hostname manually
--------------------------------------
/etc/hosts
/etc/nodename
/etc/hostname.xxn (xxn = network interface, such as hme0)
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes (if file exists and if hostname entry exists)
Files to edit/change the IP manually
------------------------------------
/etc/hosts
/etc/defaultrouter
/etc/netmasks#!/bin/sh
apt-get update30 23 * * * /home/bambino/scriptbambino:/home/bambino# at 11pm + 2days
warning: commands will be executed using /bin/sh
at> apt-get update
at> [^D]
job 4 at 2007-01-22 16:00
bambino:/home/bambino##.htaccess
AuthUserFile /home/bambino/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user bambino# export PAGER="less"
PAGER=less: is not an identifier`PAGER="less"; export PAGER`
# eeprom "auto-boot?"=falsekill pid (sends a TERM, wait 5 seconds)
kill pid (yes, try again, wait 5 seconds)
kill -INT pid (wait for it)
kill -INT pid (damn, still not dead?)
kill -KILL pid (same thing as -9)
kill -KILL pid (something is wrong)tar -cf - file_to_pack1 file_to_pack2 ... | gzip -c > packed_files.tar.gz
tar -czf packed_files.tgz file_to_pack1 file_to_pack2 ...
00:53:52 ssh myuser@my.domain.net
Permission denied (publickey).ChallengeResponseAuthentication yes