Archive for the ‘Linux’ Category

Bash and command line keyboard shortcuts

Shortcut keys for the bash and commad line interface. Ctrl + A – Moves cursor to begining of line. Ctrl + E – Moves cursor to end fo line. Ctrl + K – Clears command line from cursor position till end of line. Ctrl + U – Clears command line from cursor position till begining […]

-bash: /usr/bin/crontab: Permission denied

” -bash: /usr/bin/crontab: Permission denied “. I was getting this error earlier today while trying to add cron jobs for my login on my SLES 10 box at work. Turns out that all users in SLES 10 by default have no access to cron. The fix is to add the user to the “trusted” group […]

Screen | Linux Command

When you run commands and programs in a command prompt on Linux, the programs or commands only run while the command prompt session is open but as soon as the command prompt session is terminated for whatever reason, the commands or programs running within the command prompt session will also get terminated. I use wget […]

mkfifo | Linux Command

A short introdution to name pipes as I see them. In the Linux world name pipes are typically used to permit communications between 2 unrelated processes. Name pipes are also known as FIFOs (first in, first out), normally used to establish a one-way flow of data.(half-duplex). Name pipes have a path name of a file […]

.htaccess password generator

Use this tool at Dynamic Drive to automatically generate all the code needed to protect a directory on your site. Below are the 2 files generated by the tool. .htaccess goes into the folder that you want to protect and .htpasswd should be in a folder not accessible from the web. I normally put my […]

Page 51 of 53« First...203040«4950515253»
© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak