Sometimes it is convenient and necessary to deal with Microsoft Word doc documents directly on Linux command line. MS Word documents handling directly from the Linux command line is possible with Antiword program. Anti-Word is a small, easy to use and lightweight command line program that can convert Microsoft Word documents to PDF, PostScript, and XML.
For example, the following situations Antiword is a very useful tool:
MS Word document can be read from a remote server easily and...
Sometimes you maybe have to handle files with a dash (-) as first character from Linux command line. It can be difficult, because the script "thinks" the marks after the dash are parameters.
So files which name begins with dash (-) can not be dealt with directly by typing the command and the file name, such as the following:
less -file-with-a-dash-as-first-character
Files which name begins with dash (-) can be used as follows:
less ./-file-with-a-dash-as-first-character
Real...
Today I started thinking that how cool is do some Google searches straight from command line. First I try to find some ready tricks from the Internet, but I couldn't find quickly anything good. So I decide do a simple Bash function that can take Google search as parameter and open Firefox Browser (tab) with Google search. Sounds easy... :)
(more…)
Here is easy way add date and time to Linux terminal title. This trick works at least following terminals Gnome Terminal, xterm, urxvt, rxvt.
Simply type the following command line:
while sleep 1 ; do echo -ne '\033]2;'`date`'\007'; done &
I think the most easiest way to upgrade Fedora 11 to Fedora 12 is program called preupgrade, which download needed packages from the server and then just reboot to installer and after install boot the new system. Of course it's important backup your important files before upgrading.
Commands and screenshots of whole upgrading process
First start with updating all Fedora 11 packages with following command as root:
yum update
Install preupgrade as root:
yum install preupgrade
Start...
Few days ago I write about shred, which work fine for old systems, like EXT2, but not so nice with journaled file systems. Modern file systems need something more robust, like dd and srm (a secure replacement for rm). Unlike the standard rm, srm overwrites and rename the files before unlinking them. This makes it very hard to recovery of the data.
Create test file:
echo "secure content" > /tmp/secure.txt
(more…)
This tip is really useful if you need/want to monitor multiple servers at the same time. This Tip works, as the tip, by which you can add the date and time the title of the Linux terminal, but it adds more usefull info to terminal title. Following bash one liner add hostname, date, time, uptime, users and load Average to Linux Terminal Title and updates it every second.
This trick works at least following terminals: Gnome Terminal, xterm, urxvt, rxvt.
Add hostname, date, time, uptime,...
Yum (Yellowdog Update Modified) is RPM Packet Management system for Fedora, CentOS, Red Hat, OpenSuse etc. Yum history (list, info, summary, repeat, redo, undo, new) commands is added on 3.2.25 version. So this works every Linux Distros, which uses yum 3.2.25 or newer. Yum history command is a really useful in situations where the need to example rollback latest yum activity or undelete some deletes or just see what is updated lately.
Yum history and Yum history list
yum history lists...
I noticed that the Fedora Linux with KDE desktop, has reasonably poor support for laptop touchpad adjustment. For example, the KDE > System Settings > Keyboard & Mouse > Mouse options will not be able to enable vertical scrolling and touchpad tapping. So I decided to write this short guide, howto enable Touchpad vertical scrolling and tapping from command line without any GUI.
Enable Laptop Touchpad Vertical Scrolling
(more…)
Updated 26.2.2010, Read First
Currently, the latest version of the KDE desktop in Fedora is 4.3.5. I had some problems with its stability, so I decided to try out, how will work KDE 4.4.0 the latest stable version of KDE. At first I tried to install KDE 4.4 from Rawhide repository, but it failed to install from there. Here is instructions on how to install KDE 4.4 successfully using RPMFusion and KDE Packaging Project Repositories. It may be that RPMFusion repository is redundant, but KDE...
What is Gnome Do?
GNOME Do (Do) is an intelligent launcher tool that allows users to use the keyboard to rapidly perform tasks such as launching applications, manipulating files and data, running scripts, or sending e-mail. It is similar to the applications GNOME Launch Box (Linux Gnome), KRunner (Linux KDE), Quicksilver (Mac OS X), LaunchBar (Mac OS X) and Butler (Mac OS X).
What is Gnome Do - Docky?
Gnome Do - Docky is a nice frontend for GNOME Do (Do) which introduces an entirely new...
I think the most easiest way to upgrade Fedora 12 to Fedora 13 is use Preupgrade, which download needed packages from the server and then just reboot to installer and after install boot the new system. This guide I use preupgrade-cli version, which works from command line. If you want use Preupgrade Graphical version then you can check this Howto upgrade Fedora 11 to Fedora 12 with Preupgrade guide, which works same way with Fedora 13 (Goddard). It's important backup your important files before...
Package change log information is not directly available from the YUM package management. This is short guide howto enable (install) changelog plugin and use changelog information with YUM package management system.
Install YUM Changelog Plugin for Viewing Package Changelogs
Install YUM Changelog Plugin on Fedora (as root)
yum install yum-plugin-changelog
Install YUM Changelog Plugin on CentOS and Red Hat (RHEL) (as root)
yum install yum-changelog
Examples Howto...
This is quick tip, howto downgrade packages using YUM (example) on Fedora, CentOS, Red Hat (RHEL). This works simply with yum downgrade command and is very usefull when package(s) downgrade is needed some reason.
YUM Downgrade Basic Usage
Downgrade is very straightforward when package have not any dependencies, which affect the downgrade.
YUM Downgrade Single Package
yum downgrade package
Example:
yum downgrade hunspell-mr.noarch
Setting up Downgrade...
This is quick tip, howto list contents of tar, tar.gz and tar.bz2 files without unpacking file.
This is very useful on server environment where any graphical tool is not available. This method is also very useful when tar, tar.gz or tar.bz2 packages are really big, something like hundreds of megabytes or gigabytes (for example backups).
Overall, the key is the tar command with -t option.
List the Contents of tar File
List tar contents short command
tar -tvf archive.tar
List...
PHP MongoDB (Mongo Database) Driver Installation on Linux, UNIX, BSD and Mac OS X
MongoDB PHP driver is very simple install on Linux, UNIX, BSD and Mac OS X. You need just PEAR (PHP Extension and Application Repository) with PECL repository. Normally PHP development (dev) package and PHP Pear package installation from package management system is enough to get PEAR working. Also go-pear.php script can be used.
(more…)
Fedora 13 is released. This is overview, what's new features found on new Fedora 13 release.
Main Software Updates, Changes and Features
New Software
Shotwell - Open source photo manager for GNOME
Deja-dup - Déjà Dup (day-ja-doop) is a simple backup tool. It hides the complexity of doing backups the Right Way (encrypted, off-site, and regular) and uses duplicity as the backend.
Pino - Twitter and Identi.ca client for Linux desktop
Simple Scan - Simple Scanning Utility
New...
CentOS 5.5 is the fifth update to the CentOS 5 distribution series. It contains a lot of bugfixes, updates and new functionality.
New Packages on CentOS 5.5
freeradius2
gsl
postgresql84
python-dmidecode
samba3x
tunctl
xz
gpxe (x86_64 only)
Some package updates
exim 4.63
gcc 4.1.2
kernel 2.6.18
OpenOffice.org 3.1.1
php 5.1.6
xen 3.0.3
yum 3.2.22
httpd 2.2.3
Most interesting update is PostgreSQL 8.4. Of course, many have used the 8.4 version of PostgreSQL on...
Fedora team promises to bring to you the latest and greatest release of Fedora ever, Fedora 12! Many things are really changed and improved. Fedora 12 also brings lots of new packages.
Here is some highlights from Fedora 12 new stuff
Optimized performance - 32-bit architecture software packages have been compiled with special optimization for the Intel Atom processors without losing compatibility with the overwhelming majority of CPUs.
Smaller and faster updates - Fedora 12 uses...
What is Gnome Shell?
GNOME Shell is the defining technology of the GNOME 3 desktop user experience.
It provides following core interface functions:
Launching applications
Opening files
Switching between open windows
Adding and deleting workspaces
Moving windows between workspaces
Dynamic system-related information display (including transient notifications)
Providing a flat list of user-account related actions
Logging out or switching the session, and stopping or...
« Previous
1
2
3
…
6
7
8
9