Official PLD's FAQ: http://pld-linux.org/FAQ.
$ import -window root screenshot.jpg
$ scrot ’%Y-%m-%d_$wx$h.png’ -e ’mv $f ~/shots/’ # It will create 2000-10-30_2560x1024.png and moved it to ~/shots/
$ for i in /path/filename.*; do mv "$i" `echo "$i" | sed 's/filename/renamefile/'`; done
$ sudo chvt x # x - number of virtual console
$ find -name *.cs -exec grep -n -H --color 'apud' {} \;
$ echo "test"|sudo tee -a /etc/hosts >> /dev/null
Add to lilo/grub during boot
init=/bin/bash rw
ex.: lilo:
pld init=/bin/bash rw
When grub is used add it to line
kernel=
After password changing (passwd):
sync
Then remount / partition in read-only mode
mount / -o remount,ro
rpm -e --noscripts package
poldek --ignore "*devel*" -i "kde4-kdegam*"
In poldek's interactive mode:
poldek://all-avail> search -f *aplay*
1. Upgrade all rpm-* oraz poldek-* packages
poldek:/all-avail> upgrade rpm-* poldek-*
2. If point one hasn't solved the problem:
# rm -rf /var/lib/rpm/__db.00* # rpm --rebuilddb