Linux
Disable SSO Single Sign On
Error: Unable to login to Plesk after upgrading from 9.0 to 9.0.1
Solution:
1. Login to the server through SSH.
2. Execute the following command to disable SSO [Single Sign-On].
/usr/local/psa/bin/sso -disable
Now you can access Plesk without any issue.
..
Xrandr command
This command will help you to use the projector for external presentation.
xrandr --auto
The above command will accept the projector automatically.
..
Say no to mouse
Gmail Keyboard Shortcuts:
=> C: Compose new message.
=> Shift + C: Open new window to compose new message.
=> Slash (/): Switch focus to search box.
=> K: Switch focus to the next most recent email. Enter or "O" opens focused email.
=> J: Switch focus to the next oldest email.
=> N: Switch focus ..
F1 to F9 key commands
F1 to F9 Key commands for the Command Prompt
F1 / right arrow: Repeats the letters of the last command line, one by one.
F2: Displays a dialog asking user to "enter the char to copy up to" of the last command line
F3: Repeats the last command line
..
CVS import
Syntax:
cvs import -m "module description" modulename vendortag releasetag
Suppose one wants to import a folder called "project1". The following steps are to be followed.
1. login to cvs
2. get into project1 directory like cd c:/project1, cd /home/malu/project1
3. cvs import -m "This is project 1" project1 ven0 rel0
Now the module will be imported.
One ..
Bash shell keyboard shortcut
Ctrl + A - Go to the beginning of the line you are currently typing on
Ctrl + E - Go to the end of the line you are currently typing on
Ctrl + L - Clears the Screen, similar to the clear command
Ctrl + U - Clears the line before the ..
Vzctl set VPS hardware node
The below are some important commands used while working on a Hardware Node.
1) Command to list all the VPS's hosted on the Node.
vzlist -a
2) To start the VPS.
vzctl start VPS_ID
3) To stop (Shut Down) the VPS
vzctl stop VPS_ID
..
Gedit shortuct keys
Shortcut keys to perform common tasks more quickly than with the mouse and menus. Here are some of the shortcut keys listed for gedit text editor. Shortcuts for tabs:
Shortcut Key Command
Ctrl + Alt + PageUp => Switches to the next tab to the left.
Ctrl + Alt + PageDown => Switches ..
CSS class functionality
Common things which is used by all the email clients
=> Javascript is not supported
=> iframe not supported
=> will not support Title tag
=> hover is not supported
=> CSS can be included using External style sheet
=> CSS class functionality
=> Can set background image
=> Embedded objects like flash content not supported by mail ..
Why sitestudio
SiteStudio is industry leading browser-based web site design and construction tool. It is fully and seamlessly integrated with H-Sphere. By using SiteStudio you add value to your Internet service by providing your customers with the easiest way to build a website. With SiteStudio, your users need not know anything about ..
SiteStudio with H-Sphere
If you run SiteStudio with H-Sphere, run the following commands:
1. Stop Control Panel and SiteStudio:
FreeBSD: /usr/local/etc/rc.d/apachecp.sh stop
Linux: /etc/init.d/httpdcp stop
2. Restart ImageMaker:
# /hsphere/shared/SiteStudio/imaker.sh restart
3. Start Control Panel:
FreeBSD: /usr/local/etc/rc.d/apachecp.sh start
Linux: /etc/init.d/httpdcp start
..
Find reverse DNS of an IP or host
How do I test or check reverse DNS for given IP address under Linux or Windows XP/Server 2003?
The reverse DNS or RDNS is the process to determine the hostname associated with a given IP Address.
The most common uses of the RDNS are:
=> Anti-spam
=> Network troubleshooting
=> Avoid spammers and phishers using ..
Copy a file using uuencode
The scp command is used to copy the file's over ssh. In some server's you may not have access to scp command or you may be restricted to use the scp command. In such case you can use the uuencode command to copy the files over ssh or from server ..
Recursively change permission of directiories
Recursive chmod all files and directories within the current directory
# chmod -R 774 .
# find . -print -exec chmod 777 {} \;
# find | xargs chmod 777
The chmod command is use to change the permission of a file or a directory. The above commands ..
Command to change time
In Linux or Unix machine you can use the date command to change the time
To set time use the following syntax:
# date +%T -s "10:11:12"
Where,
* 10: Hour (hh)
* 11: Minute (mm)
* 12: Second (ss)
Use %p locale's equivalent of either AM or PM, enter:
# date +%T%p -s ..