How can I open a cmd window in a specific location?

Try out this “PowerToy” from Microsoft: Open Command Window Here This PowerToy adds an “Open Command Window Here” context menu option on file system folders, giving you a quick way to open a command window (cmd.exe) pointing at the selected folder. EDIT : This software will not work on any version of Windows apart from Windows XP.

How do I grep recursively?

The first parameter represents the regular expression to search for, while the second one represents the directory that should be searched. In this case, . means the current directory. Note: This works for GNU grep, and on some platforms like Solaris you must specifically use GNU grep as opposed to legacy implementation. For Solaris this is the ggrep command.

No space left on device

Such difference between the output of du -sh and df -h may happen if some large file has been deleted, but is still opened by some process. Check with the command lsof | grep deleted to see which processes have opened descriptors to deleted files. You can restart the process and the space will be freed.

error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock

To find all socket files on your system run: My Mysql server system had the socket open at /var/lib/mysql/mysql.sock Once you find where the socket is being opened, add or edit the line to your /etc/my.cnf file with the path to the socket file: Sometimes the system startup script that launched the command line executable specifies … Read more

Where can I find php.ini?

The best way to find this is: Create a PHP (.php) file and add the following code: and open it in a browser. It will show the file which is actually being read! Updates by the OP: The previously accepted answer is likely to be faster and more convenient for you, but it is not always correct. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)