/etc/udev/rules/70-persistent-net.rules
before you update. If it contains the string ATTRS{address}
, edit it so that it becomes ATTR{address}
. Now the network configuration will be preserved after the upgrade.
/etc/udev/rules/70-persistent-net.rules
before you update. If it contains the string ATTRS{address}
, edit it so that it becomes ATTR{address}
. Now the network configuration will be preserved after the upgrade.
case $0 in -*) # Login shell ;; *) # non-interactive shell ;; esacIn csh:
switch ($0) case -*: # login shell stuff breaksw default: # non-interactive stuff breaksw endsw
eval var2=$"$var1"Turns out a variable indirection feature has been around since bash 2! Sheesh!
var2=${!var1}is the official way to do this. Alternately this should also do:
eval var2=\$${var1}
getent passwd username1 [username2 ...]Lookup database entry for an existing group:
getent group groupname1 [groupname2 ...]
lsb_release -i -dor
lsb_release -a
xephyr -query localhost -screen 1280x1024 :1Got a blank screen for my efforts. Grrrr... I ran:
netstat -aunp | grep ":177"only to figure that kdm was listening at port 177 over IPv6! Recalling an old KDE bug, I edited /etc/X11/xdm/Xaccess to read:
LISTEN 0.0.0.0and restarted kdm. That did the trick - phew!