This post will describe the simplest ever solution to remove a shortcut in Windows Mobile 6.1 Menu. This worked on my HTC Tytn, and it should work on any Windows-Enabled phone. If, for any reason, you are unable to delete your shortcut using Settings->Menus, all you need to do is to delete your shortcut using file system. In order to delete it, you need to navigate to Phone Memory\Windows\Start Menu and delete all the unnecessary shortcuts. Here is a complete guide for shortcuts and I hope you will find it helpful.
Sometimes we need to kill a bunch of processes. For example, we have run a plenty of PHP scripts from command line, and have noticed there are errors in them. Let’s say the wrong script is called php_script.php. Then in order to terminate all processes associated with script name, you need to issue the following command:
kill `ps aux | grep php_script.php | grep -v grep | awk '{print $2}'`
What does this command actually do? It sends process IDs found by ps to the kill command. Then all these processes are killed. This command is used when any other methods, like killall -9 php are not acceptable for any reason.
First of all, let me explain, what the sticky bit is. When set, it tells the operating system to retain the text segment of the application in swap space after the process exited. This speeds up subsequent executions as it allows the kernel to prevent multiple operations of moving the program from swap to real memory.
The most common use of the sticky bit today is related to directories. When the sticky bit is set, only the item’s owner, the directory’s owner, or the root can rename, delete, or modify files. Without the sticky bit set, any user with write and execute permissions for the directory can rename or delete contained files, regardless of owner. Typically this is set on the /tmp directory to prevent users from deleting or moving other users’ files.
In order to set the sticky bit, a simple command is used:
chmod +t /tmp
In order to check whether the sticky bit is set, here is another command:
ls -ld /tmp
If you r last bit is ‘t’, then the sticky bit is set to the directory. It is a common practice to protect this folder in such a way as many server applications store their temporary data in this directory. For example, default MySQL configuration is set to store its socket file in /tmp/mysql.sock. You can experience problems if you don’t set a sticky bit on your /tmp directory.
You can meet this error while trying to make PHP on a fresh server. For example, you have this configure line:
./configure '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-calendar' '--enable-mbstring' '--disable-cgi' '--disable-magic-quotes' '--with-curl' '--with-curlwrappers' '--with-zlib' '--with-bz2' '--enable-ftp' '--with-gd' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr/lib/mysql' '--enable-soap' '--with-xmlrpc' '--enable-zip' '--with-pear'
and the error you receive is:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Most probably you don’t have libtool-ltdl-devel installed. All you need is to install it using yum (or any other applicable package manager). yum install libtool-ltdl-devel. Then run ./configure, make and make install. This should do the job.