Using samba with autofs on Fedora 9
Mount a samba share on the fly without having it mounted statically at boot via the /etc/fstab file can bring you the advantage of an unpainful boot in case of unavailability of the samba server like in the following common scenarios:
- laptop: you mount your pc share at home, but when you move it becomes unavailable
- workstation: you mount the share of your workmate – but when he/she goes on holiday his/her workstation stays off
Bash delirium (delirio in bash)
f1() { :; }; f0() { f$((${#1}==0)) "${1:1}"; echo -n "${1:0:1}"; }; f0 'dlrow olleh'; echo
MusicBrainz not working with Amarok on Fedora 8
On my Fedora 8 system with Amarok I was trying to fill an mp3′s tag header using MusicBrainz, getting the following error:
Tunepimp (MusicBrainz tagging library) returned the following error: "Fingerprinting of .mp3 files is not supported."
To make it work, just yum install libtunepimp-extras-nonfree
SSH X11 forwarding issue
Recently I’ve been in an awkward situation with ssh and X11 forwarding, where ssh using the classic -Y (or -X) switch wasn’t working (DISPLAY was not set):
[andrea@duncan ~]$ ssh -Y root@thufir
root@thufir's password:
Last login: Sat Apr 12 23:30:09 2008 from ***
[root@thufir ~]# echo $DISPLAY
[root@thufir ~]#
If you are experiencing the same and your sshd_config looks fine (which means TCP and X11 forwarding is already enabled) then the answer is missing xauth!
On RedHat yum install xauth will do the trick
Solaris 10 si3124 backport (workaround for bug #6566207)
Do you think you can get a fast cheap SATA mass storage at home with Solaris 10 and ZFS just plugging a cheap si3124 controller?
Not so easily: on Solaris 10 you will be afflicted by some boring bug known as bug #6566207 which gets your controller stuck for around a minute after some heavy I/O.
seq equivalent
On platforms without seq (MacOSX, Solaris), you can emulate it using dc as follows (note the upper bound and the lower bound):
echo '[1+pdupper bound>aq]salower bound 1-lax' | dc
For example:
alia:~ andrea$ echo '[1+pd5>aq]sa0 1-lax' | dc
0
1
2
3
4
5
alia:~ andrea$





