Posted on June 5, 2009, 5:00 pm, by devnet.
One of the things I love is being able to enter into a directory via terminal, list the contents, and quickly see which ones are executable or not and which ones are directories or are not directories IN COLOR (not everyone is perfect right?). This is specifically handy as I move through working with Slackware [...]
Posted on November 18, 2008, 5:38 pm, by devnet.
Sometimes when I’m troubleshooting a PHP error and a function is called in the debugger that gives me a line number of a file to look at, I want to know what that line says without opening up the file. Using the command line, you can accomplish this in the following way:
head -n 96 filename.php [...]
Posted on November 14, 2007, 2:49 pm, by devnet.
Ever wonder how you can get a man page in into a format you can read and print? There’s many methods of doing it (copy and paste is one) but one the easiest I’ve found is:
man command | col -x -b > command.txt
Where command is the Linux command man page you want to [...]
Posted on March 12, 2007, 8:24 pm, by devnet.
Have you ever been using your Linux distro and suddenly found a program won’t close? It’s frustrating when an application hangs. In Windows, one could right click on the taskbar and choose “Task Manager” and kill the hanging process (which doesn’t always work BTW). In Linux, you can also kill these hanging [...]