To view the first lines of a text file, use the head command. head file.txt = show first 10 lines of filehead -25 file.txt = show first 25 lines of file To view the last lines of a text file, use the tail command. tail file.txt = show last 10 lines...
I did a little research the other day with regards to Time Dimensions and I thought I would share my findings here. Background:Traditionally a data warehouse will have at least one “Time” dimension that will have one record for every time period...
A common issue for users of SQL Server databases is disk space and the size of the physical log file and database. While I’m not going to attempt to make a “one size fits all” statement on database maintenance plans, I thought it would be helpful to...
This directory contains some sample scripts that can be dropped into /etc/postwwwacct.dir. Note that you need to be root to set up this stuff, which means usually that you’ll need a dedicated server or VPS to run these scripts (a very supportive...
Linux Linux is a collective name for a class of Unix computer operating systems. The name of the kernel of the Linux operating system is also “Linux”. The Linux operating system is also the most famous example of the development of free...
I had several files that had spaces in their names and I wanted to convert those spaces to underscores. Here’s how I did it. If you don’t have one already, make a bin directory in your home directory: cd mkdir bin In your /home//bin directory...
Less
ls | less
Commands to use with less:
space = move ahead a pageb = move back a pageq = quit less
When the LILO: prompt appears (or boot: prompt if you inserted a boot disk), enter: linux -s or linux single When the bash# prompt appears, enter: passwd This will then prompt you for a new root password, without asking for the old one...
Soft links Pointers to programs, files, or directories located elsewhere (just like Windows shortcuts)If the original program, file, or directory is renamed, moved, or deleted, the soft link is broken. If you type ls -F you can see which files are...
Run at the command line:
cat /proc/meminfo = memory usage information
free = how much memory is currently unused



