Skip to main content

Posts

Usefull commond for linux server

1: grep -r "aktel" /mnt/*      : find aktel word in all file within /mnt directory 2: ls -al ,vdir,     : list of directory with details 3:awk -F':' '{ print $1}' /etc/passwd list of user 4:  mv -u *.sql.gz /mnt/.backup/2012/sql/ move all file sql.gz(change accourding to your need ) file to your folder ;

Secure Copy (scp) Example

First add your id_dsa  for you server  Then try these command. Copy the file "foobar.txt" from a remote host to the local host $ scp root@remotehost.edu:foobar.txt /some/local/directory Copy the file "foobar.txt" from the local host to a remote host $ scp foobar.txt your_username@remotehost.edu:/some/remote/directory Copy the directory "foo" from the local host to a remote host's directory "bar" $ scp -r foo your_username@remotehost.edu:/some/remote/directory/bar Copy the file "foobar.txt" from remote host "rh1.edu" to remote host "rh2.edu" $ scp your_username@rh1.edu:/some/remote/directory/foobar.txt \ your_username@rh2.edu:/some/remote/directory/ Copying the files "foo.txt" and "bar.txt" from the local host to your home directory on the remote host $ scp foo.txt bar.txt your_username@remotehost.edu:~ Copy the file "foobar.txt" from the local ho

How To Get the RSS Feed Of A Facebook Fan Page

Get the URL of the Facebook fan page https://www.facebook.com/akteleducation Get the page ID of the Facebook fan page 124527140956099 Create the RSS feed address http://www.facebook.com/feeds/page.php?format=atom10&id= 342800190154 Enter the RSS feed address into your favorite RSS reader Thank you.

Magento-Concept

1) Mcrypt : This is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it supports RC6 and IDEA which are considered "non-free". CFB/OFB are 8bit by default. 2) Mhash : These functions are intended to work with » mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more. This is an interface to the mhash library. Mhash supports a wide variety of hash algorithms such as MD5, SHA1, GOST, and many others. 3) Simplexml : The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators. 4) DOM : The DOM extension allows you to op  erate on XML documents through the DOM API with PHP 5. 5) InnoDB storage engine : InnoDB is