Linux: Display / Show File Contents (tabs, line breaks, non-printing characters)

I write before guide, howto create file on Linux shell / command line without text editor (with cat command) and this is guick tip howto display / show file contents (tabs, line-breaks, non-printing characters (ASCII control characters: octal 000 - 037)) and display all on Linux shell / command line. This is very useful when you want to know the entire contents of the file. Example file I use /tmp/testing.txt example file on this guide. File is created simply with following...

Linux: Create Text File on Linux Shell / Command Line

This is a very typical case, the need to create a temp file on the command line quickly. Opening editor, writing content, save file and quit editor is not the fastest possible way. A faster way is to use the cat command with the name of the file and write contents of the file and give the end-of-file character (Ctrl-D). This is guide, howto create (or append to) text file without text editor on Linux shell / command line. Create Text File Without Text Editor on Command Line #...

Howto Install ATI Drivers (Mesa 3D DRI Experimental) on Fedora 12 Linux

Fedora 13 Users check Fedora 13 ATI Drivers Guide » Like all ATI and Fedora users probably already knows, currently AMD's ATI Catalyst 10.2 proprietary Linux display drivers are not working on Fedora 12. That is why I decided to write this guide for those who are fighting with ATI drivers in Fedora. As Fedora 12 release notes says: Improvements for graphics support - Introduces experimental 3D support for AMD Radeon HD 2400 and later graphics cards. To try it out, install the...

Microsoft Word doc documents handling on Linux command line with Antiword

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...

Linux Tip: How to handle a files with a dash as first character from command line

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...

Google search from Linux and UNIX command line

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…)

Howto upgrade Fedora 11 to Fedora 12 with Preupgrade

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...

Delete files securely on Linux – Journaled file systems

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…)

Add Hostname, Date, Time, Uptime, Load Average to Linux Terminal Title

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 History (list, info, summary, repeat, redo, undo, new)

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...

Linux: Enable Laptop Touchpad Vertical Scrolling and Tapping from Command Line

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…)

Howto Install KDE 4.4 or Update to KDE 4.4 on Fedora 12 Linux

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...

Install, Configure and Use Gnome Do – Docky on Fedora 12 Linux

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...

Upgrade to Fedora 13 from Fedora 12 with Preupgrade

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...

YUM Changelog

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...

YUM Downgrade Packages on Fedora, CentOS, Red Hat (RHEL)

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...

List tar/tar.gz/tar.bz2 Contents – List all files in archive.tar

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...

Install PHP MongoDB (mongo) Driver on Linux, Mac OS X, Windows, UNIX, BSD

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 Goddard – What’s New, Overview, Features, Screenshots

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...
1 2 3 4 5 6 7 8
Close