Copyright © if not true then false. All Rights Reserved. Snowblind by Themes by bavotasan.com. Powered by WordPress.

Posts Tagged ‘ Bash ’
Apache Applications Bash CentOS Coding Command line CSS Database date Fedora Firefox Gnome Google Hacked Howto HTML Java JavaScript KDE Links Linux MySQL News Perl PHP PostgreSQL PostgreSQL Partitioning Programming Programs psql Red Hat RHEL Security SQL Styles Terminal time Tips Tricks Tweets Twitter UNIX Windows XFCE Yum
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).
Create Temporary File Without Editor on Command Line
» Continue Reading "Linux Tip: Create and Append to Temporary File Without Editor"
Memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load. Memcached is a very useful also in other cases, than only dynamic web applications.
This guide explains howto install Memcached 1.4.4 current stable version of distributed memory object caching system on CentOS 5.4, Fedora 12 and Red Hat RHEL 5.4. Fedora 12 has Memcached 1.4.4 as default so extra repositories is not needed on Fedora 12.
Install Memcached 1.4.4 Distributed Memory Object Caching System
» Continue Reading "Howto Install Memcached 1.4.4 Caching System on CentOS, Fedora, Red Hat"
This is quick guide howto find files and directories quick and efficiently on Linux with locate command. Linux find command is outdated, slow and complicated to use, so locate command is much better option.
Locate basic usage find files and directories
locate file # example locate httpd.conf locate path # example locate /X11/
» Continue Reading "Linux locate command: Find Files and Directories Quickly and Efficiently"
This is a quick method with using cURL to check that Apache Compression with mod_gzip and mod_deflate is working. Only the remote server headers are needed.
Check that the Apache Compression is Working
Get headers
curl -I -H 'Accept-Encoding: gzip,deflate' http://www.if-not-true-then-false.com
-I option which will make just HEAD request to server and get headers.
-H option add header for accecpt content-encondig gzip and deflate.
Check headers
» Continue Reading "cURL Tip: Check that the Apache Compression (gzip, deflate) is Working"
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 all latest yum operations and yum history list list all operations or just selected package operations
» Continue Reading "Fedora 12: yum History (list, info, summary, repeat, redo, undo, new)"