Tag: linux

Linux Terminal (BASH) Keyboard shortcuts. Readable presentation.

Linux terminal shortcuts are extremely handy. They can speed-up your everyday tasks significantly. Additionally, most commends are applicable to Cisco telnet/SSH sessions and any other terminals. A very little amount of people aware that your terminal can cut/paste strings and words. It can, all shortcuts are there.

There are thousands of pages out there with the list of same shortcuts. What is the reason for me to duplicate widely spread information? Simple – all list around there are organized in a random unreadable way. I’ve put some effort and organized stuff according the functionality. I believe that my version of the list is much more usable than the rest out there. Enjoy.

Read More »

Fedora 13. Is. Out.

Weeeeeeeeeeeeeeeeeeeeeeeeeeee!

Two coolest features I’ve noticed hacking around the beta are easy LVM voluming, out-of-box partitions encryption and… Minimal installation mode! Nothing extra, just kernel, shell and drivers. No overload, no dependency added shit. No words can describe best Linux in the world. Download it!

Open source domination

Probably it isn’t too much meaningful, but you will never find yourself playing with such a weirdo thing if you are using MAC OS or Windows. There should be some meaningful words here, but who cares?

Gnuplot with set terminal dumb

Picture is related

Windows and Linux System Time Shift Fix

Recently, I had to install Vista on my laptop. After installation I found that system time in Linux and in Windows had 3 hours difference. So every time I was rebooting into another OS, my system time was set on another value. To track time, I am always using clock in the tray. So changing clock value after each restart was really annoying.

Windows does not change sytem clock value, it changes output on system tray’s clock value according timezone difference only. Vista did not change any value on system clock. It was showing whatever value was left after Linux. Linux was not changing any clock value also. So problem was in time representation in both operating systems.

Occasionally, Linux can represent clock value in UTC, as well as in local time format. In my case, Linux was interpreting value as UTC, and converting it to local time. But windows was reading UTC value of clock, remaining after Linux, thinking that it is a local time, adding timezone difference, and viola! I was getting my three hours difference. Apparently, Vista can not understand that clock is UTC. So I just changed clock representation in Linux.

# clock --localtime

Fedora 10 Proprietary Soft Installation Script

When I Migrated to Fedora 10, I wrote small script, which was installing most common proprietary software I needed and updates system. I didn’t publish it, because I thought that it is useless and “do not publish all crap you think matters”. But this script was used more than twice by me, so Here it is. Just run it as Root.

su -c '
#Installing proprietary repositories
#rpm fusion
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm;
#adobe
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm;
#installing software
yum -y install  kmod-nvidia stardict fusion-icon flash-plugin gnome-mplayer audacity xine-lib-extras-nonfree vlc libdvdread gstreamer-plugins* libmad libid3tag id3v2 xine-lib-extras-nonfree kdemultimedia-extras-nonfree wine unrar ida stardict azureus;
#updating sustem
yum -y update;
#healing fedora-after-update-bug
rm -rf /var/lib/rpm/__db.*;
'

UPDATE: I was pointed to a more robust script for additional soft installation for fedora.FedoMATIX

“rm -rf /” Не Ъ

Только позеры пользуют грутую rm -rf / для того, чтобы шутить над новичками. Страхолюдный скрипт на Перл:

cat “test… test… test…” | perl -e ‘$??s:;s:s;;$?::s;;=]=>%-{<-|}<&|`{;;y; -/:-@[-`{-};`-{/” -;;s;;$_;see’

тоже попадает под ту же категорию, пушто он тоже на поверку оказывается rm – rf
Настоящие юниксовые гуру пользуют комманду:

dd if=/dev/urandom of=/dev/sda bs=4k

Debian’s Entropy


Вторая смешнее для математиков