image 19 - How to Change SSH port 🔢 in cPanel

How to Change SSH port 🔢 in cPanel

In order to change the SSH port and protocol, you will have to edit sshd_config nano /etc/ssh/sshd_config Change Protocol 2,1 -> to Protocol 2Change #Port 22 -> to some other port and uncomment it Example: Protocol 2 Port 2255 Then restart ssh...

linux - View a text file at the command line

View a text file at the command line

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...

Windows Server 2008 Robot Ad Wallpapers1920x1200 2 Apps Directories - Microsoft Analysis Services: 🕒 Time Dimensions

Microsoft Analysis Services: 🕒 Time Dimensions

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...

Windows Server 2008 Robot Ad Wallpapers1920x1200 2 Apps Directories - SQL 2005: Truncating Log Files and Recovering Space

SQL 2005: Truncating Log Files and Recovering Space

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...

what is cpanel - Sample postwwwacct.dir scripts

Sample postwwwacct.dir scripts

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...

linux - The root of Linux

The root of Linux

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...

linux - Convert spaces to underscores using a script

Convert spaces to underscores using a script

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...

linux - More or Less

More or Less

Less

ls | less

Commands to use with less:

space = move ahead a pageb = move back a pageq = quit less