# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4
Autor: wpadmin (Seite 7 von 8)
$gerundete_zahl = sprintf („%.2f“, $ungerundete_zahl);
netstat -nbp tcp
export PS1=’\[\033[32m\]\h:\w\$\[\033[0m\] ‚
oder.
export PS1=’\[\033[32m\]\h:\w\$ ‚
1. ssh-keygen -t dsa
2. cat ~/.ssh/id_dsa.pub | ssh user@server „cat – >> ~/.ssh/authorized_keys“
3. ssh user@server
ls -At1d */ | head -n 1
mount -t smbfs //192.168.168.253/tmp /mnt/smbshare
$ x=a:b:c
$ echo ${x%:*}
a:b
$ echo ${x#*:}
b:c
Mount the share with user/pass:
smbmount //winpc/shared /mnt/share -o username=user,password=pass,rw
Or mount the share without a user/pass (this is true if Everyone is still set)
smbmount //winpc/shared /mnt/share -o rw
loadkeys de-latin1