tag:blogger.com,1999:blog-89526572104723724152024-03-07T00:33:31.662-08:00Basic IT Tips & Tricks for IT GeeksUnknownnoreply@blogger.comBlogger25125tag:blogger.com,1999:blog-8952657210472372415.post-30471946900080889782011-01-15T23:34:00.000-08:002011-01-15T23:34:26.510-08:00Online, web based spreadsheets<a href="http://www.simple-groupware.de/cms/Spreadsheet/Home">Simple Spreadsheet</a><br />
<a href="http://www.softwaregarden.com/products/wikicalc/">wikiCalc</a><br />
<a href="http://www.softwaregarden.com/wkcalpha/"></a><a href="http://code.google.com/p/trimpath/wiki/TrimSpreadsheet">TrimSpreadsheet</a> <span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: arial,sans-serif; font-size: 13px;"> </span></span><br />
<a href="http://sourceforge.net/projects/sheetster/">Sheetster Web Spreadsheet</a><br />
<a href="http://code.google.com/p/zkspreadsheet/">ZK Spreadsheet</a><br />
<br />
<a href="http://en.wikipedia.org/wiki/List_of_online_spreadsheets">Wikipedia: online spreadsheet</a><br />
Also try <a href="http://www.zimbra.com/products/ss_document_spreadsheet.html">Zimbra collaboration suit</a><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-19253915012653064492010-01-24T10:39:00.000-08:002010-01-24T10:39:30.246-08:00How to Format a Hard Drive in LinuxWhen you format a computer hard drive,<span style="color: red;"> you will lose everything</span> that is on the drive!!! Therefore it is very <span style="color: red;">important to back up</span> anything you might later want!!!<br />
<br />
Linux refers to hard drives as either "hdx" or "sdx" where x is a letter, starting with a, which represents the order in which the drive was added to or detected by the computer. The "hd" prefix is used for IDE and PAT), and the "sd" prefix is used for SCSI, SATA, and USB drives. Usually a number is also put at the end of "hdx" or "sdx" to denote different partitions on the same phisical drive, but for the purpose of formatting you only need to know which letter the drive you want to format is.<br />
<br />
All actions done with <span style="color: red;">root</span> privileges.<br />
You can check which drives are represented in your system. Do following commands:<br />
<blockquote><div style="color: red;">ls /dev/hd*<br />
</div> <i>or (depending on which type of drive)</i><br />
<div style="color: red;">ls /dev/sd*<br />
</div>Simple output: /dev/hda /dev/hda1 /dev/hda2 /dev/hdb /dev/hdb1 /dev/hdd<br />
</blockquote>OR...<br />
<blockquote><div style="color: red;"># fdisk -l<br />
</div>Output:<br />
</blockquote><blockquote>Disk /dev/hda: 80.0 GB, 80000000000 bytes<br />
255 heads, 63 sectors/track, 9726 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 13 104391 83 Linux<br />
/dev/hda2 14 9726 78019672+ 8e Linux LVM<br />
<br />
Disk /dev/hdb: 40.0 GB, 40020664320 bytes<br />
255 heads, 63 sectors/track, 4865 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hdb1 1 4865 39078081 83 Linux<br />
</blockquote>In this examples we can see that the operating system is installed on hda, which has two partitions (hda1 and hda2), and there is one partition on hdb - hdb1.<br />
<br />
<a name='more'></a>First you will use the fdisk command to erase any old partitions on the drive and create a new one. Any changes you make using fdisk are only made permanent if you then issue the "w" command before quitting, so feel free to play around a little if you like. If at any time you find yourself stuck, you can quit the program without saving changes byusing Ctrl+C<br />
<br />
At the command prompt, type "fdisk /dev/hdb" replacing the "hdb" with the letters for your drive. Upon opening, fdisk may give you a couple of warnings, all of which can be ignored. It then gives you a prompt that looks like this:<br />
<blockquote># fdisk /dev/hdb<br />
<br />
The number of cylinders for this disk is set to 4865.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
(e.g., DOS FDISK, OS/2 FDISK)<br />
<br />
Command (m for help):<br />
</blockquote>Enter "p" to see the partition table of the drive. The first line of output from the "p" command will also tell you size of the drive. This is a good way to double check that you are working with the correct drive. <br />
<blockquote>Command (m for help): p<br />
<br />
Disk /dev/hdb: 40.0 GB, 40020664320 bytes<br />
255 heads, 63 sectors/track, 4865 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hdb1 1 4865 39078081 83 Linux<br />
</blockquote> To delete any existing partitions, press "d" then enter. It will ask you which partition number you wish to delete. The number of the partition is the number that follows hdb, so on our example system we enter 1. If there are multiple partitions repeat the "d" command for each one. You can always view the partition table again with the "p" command.<br />
Once you have deleted all existing partitions on the drive you are ready to make a new one.<br />
<br />
<i>From here you may prefer check <a href="http://ultra-it.blogspot.com/2009/10/add-additional-disk-drive-to-your-linux.html" style="color: purple;">this article about creating and adding new partition in linux</a>, which is more detailed.</i><br />
<br />
Type "n" and hit enter. Then press "p" to create a primary partition. It asks you for a partition number, enter "1." Now you are asked which cylinder the partition should start at, the beginning of the drive is the default, so just hit Enter. Then you are asked for the last cylinder, the end of the drive is default so you can just press Enter again.<br />
Now you are back at fdisk's command prompt. Use the "p" command to check the partition table. You should now see your new partition at the bottom of the output. In the example it lists "/dev/hdb1."<br />
<br />
Now just issue the "w" command to write your new partition table and exit fdisk.<br />
<br />
Now you need to create the filesystem on the drive. This is done with the "mkfs" command.<br />
We will make Ext3 filesystem here:<br />
<blockquote><b># mkfs -t ext3 /dev/hdb1 </b><br />
(<i><b>#mkfs.ext3 -c /dev/hdb1</b></i> -- same command as original)<br />
(<i><b># mkfs.ext3 -c -L SomeName /dev/hdb1</b></i> - Add SomeName label to partition)<br />
mke2fs 1.27 (8-Mar-2002)<br />
Filesystem label=<br />
OS type: Linux<br />
Block size=4096 (log=2)<br />
Fragment size=4096 (log=2)<br />
2508352 inodes, 5016052 blocks<br />
250802 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
154 block groups<br />
32768 blocks per group, 32768 fragments per group<br />
16288 inodes per group<br />
Superblock backups stored on blocks:<br />
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,<br />
4096000<br />
<br />
Writing inode tables: done<br />
Creating journal (8192 blocks): done<br />
Writing superblocks and filesystem accounting information: done<br />
<br />
This filesystem will be automatically checked every 34 mounts or<br />
180 days, whichever comes first. Use tune2fs -c or -i to override.<br />
</blockquote><br />
<br />
Finaly done. Now you can mount your new partition somewhere:<br />
<blockquote>#mkdir /home/MountedHDB1<br />
#mount /dev/hdb1 /home/MountedHDB1<br />
</blockquote>Now you have additional free space on your system.<br />
<div style="text-align: right;">Edited original from <b><a href="http://www.ehow.com/how_1000631_hard-drive-linux.html">here</a></b>.<br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-28365235711649956262010-01-24T09:18:00.000-08:002010-01-24T09:19:38.025-08:00Firefox' about:conf tricks + Bonus extension<span style="font-size: large;"><b>Spell Check Single Line Fields</b></span><br />
<ul><li>In address bar type: <b>about:config.</b></li>
<li>In the “Filter” field type <b>layout.spellcheckDefault.</b></li>
<li>As you can see it has value of "1"<b><span style="font-weight: normal;">. Double click on it and enter 2 as its new value.</span></b></li>
<li><b><span style="font-weight: normal;">Restart firefox.</span></b> </li>
</ul><b><span style="font-size: large;">Address bar as Search BOX</span></b><br />
Yes in Mozilla Firefox you can just <b>type your search query in address bar and get the search results displyed to you</b>!<br />
For this:<br />
<ul><li>Type <b>about:config</b> in address bar of Mozilla Firefox.</li>
<li> Type <b>keyword.URL</b> in filter box.</li>
<li> Right-Click on that line and select <b>modify</b> option.</li>
<li>Enter any of the following string for corresponding search engine!(Google's Feeling lucky is my favorite, and it's by default)</li>
</ul><blockquote><b>Google: Feeling Lucky</b> - http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= <br />
<b>Vanilla Google</b> - http://www.google.co.in/search?btnG=Google+Search&q=<br />
<b>Wikipedia</b> - http://en.wikipedia.org/wiki/Special:Search?fulltext=Search&search=<br />
<b>Wikipedia: Feeling Lucky</b> - http://en.wikipedia.org/wiki/Special:Search?go=Go&search=<br />
<b>Yahoo</b> - http://search.yahoo.com/search?p=<br />
</blockquote><i>(Default Firefox en-US keyword URL: <b>http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=</b>)</i><br />
<i></i><br />
<a name='more'></a><i></i><br />
<span style="font-size: large;"><b>For those of you who viewing pages with some Cyrillic in address</b></span><br />
Для тех у кого возникают проблемы с копированием ссылок с кириллицей в Firefox.<br />
<ul><li>about:config</li>
<li> <b>network.standard-url.escape-utf8</b></li>
<li>Change value <strike>TRUE</strike> to <b>FALSE </b></li>
</ul><b><span style="font-size: large;">Mozilla has removed Properties option from Contex Menu of Firefox since 3.6</span></b><br />
But you can install <a href="https://addons.mozilla.org/en-US/firefox/addon/14228/"><b><span style="color: #cc0000;">E</span></b><b style="color: #cc0000;">lement Properties</b></a> and bring this option back<br />
<b><br />
</b><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-68552620797437347282010-01-17T09:11:00.000-08:002010-01-31T10:34:24.313-08:00File permissions in linux - explainedLinux is often used as a multi-user system and it is not desirable that all users have access to all files and directories.<br />
For eg. : On a multi-user environment in a office using a central server running linux , it might be required the accountants documents be shared between employees of the accountants department . At the same time, it might be undesirable and indeed dangerous if anyone having access to the server is able to read/edit them. <br />
<br />
Linux has a <b>3X3</b> permission system.<br />
<br />
There are 3 levels of security for a file : <br />
<br />
<b>Read Permission </b>: Permission to read a file (<b>r</b>)<br />
<b>Write Permission </b>: Permission to edit a file (<b>w</b>)<br />
<b>Execute Permission</b> : Permission to execute a file if it is executable (<b>x</b>) <br />
<br />
and 3 different levels for a directory : <br />
<br />
<b>Enter Permission </b>: Permission to Enter into the Directory<br />
<b>Show Entry</b> : Permission to see the contents of the Directory<br />
<b>Write Entry </b>: Permission to make a new file or subdirectory in the Directory <br />
<br />
For granting the above permissions, users are divided into 3 different sets <br />
<br />
<b>User</b> : The owner of the file/directory - mostly the person who created the file/directory<br />
<b>Group</b> : Linux users can be divided in groups and one user can be a member of more than one group. A Group denotes all users who are members of group(s) to which the owner of a file/directory belongs<br />
<b>Others</b> : All users not in the group(s) of the owner. <br />
<br />
<a name='more'></a><br />
Let's discus next example, which is output of <i>ls -l</i> command: <br />
<blockquote><b>drwxr-x---</b> 2 mayank freeos 4096 Dec 28 04:09 tmp <br />
<b>-rw-r--r--</b> 1 mayank freeos 969 Dec 21 02:32 foo<br />
<b>-rwxr-xr-x</b> 1 mayank freeos 345 Sep 1 04:12 somefile </blockquote>The first entry here is <i>tmp</i>. <br />
<div style="text-align: center;"><b>d rwx r-x --- </b></div><div style="text-align: center;">file type | user | group | others </div><br />
The first character in the field indicates a file type of one of the following <br />
The first character in the first column is 'd', which means the tmp is a directory.<br />
<br />
d = directory <br />
l = symbolic link <br />
s = socket <br />
p = named pipe <br />
- = regular file <br />
c= character (unbuffered) device file special <br />
b=block (buffered) device file special <br />
<br />
<div style="color: red;"><span style="font-size: large;"><b>The chmod command </b></span></div><br />
The chmod command is used to change the permissions of files/directories in linux. It's syntax is as follows : <br />
<blockquote>chmod -R/c/f/v [u / g / o / a] [+ / - / =] [rwxXstugo..] </blockquote>For eg. if u want to give all users in the group of the owner just read permission to a file called foo.txt, the command is <br />
<blockquote>chmod g+r /home/aarjav/foo.txt </blockquote>Here <i>g</i> stands for group, <i>+</i> stands for giving permission (as against - for taking permission away), <i>r</i> stands for read permission. <br />
<br />
Now if they misbehave and u want to take their read permission away. The command is the same as above, just substituting the + sign with a minus sign <br />
<blockquote>chmod g-r /home/aarjav/foo.txt</blockquote>As shown the general format of the command is <br />
<blockquote>chmod -R/c/f/v [u / g / o / a] [+ / - / =] [rwxXstugo] </blockquote>where parameters are:<br />
<b>which user?</b><br />
<b>u</b> : user <br />
<b>g</b>: group <br />
<b>o</b> : others <br />
<b>a</b> : all<br />
<b>what to do?</b><br />
<b>+</b> : give permission <br />
<b>-</b> : take permission away <br />
<b>=</b> : cause the permissions given to be the only permissions of the file<br />
<b>which permissions?</b><br />
<b>r</b> : read permission <br />
<b>w</b>: write permission <br />
<b>x</b> : execute permission<br />
<br />
<b>And some other parameters: </b><br />
<b>X</b>: execute only if it is a directory or already has execute permission for some user <br />
<b>s</b> : set user or group ID on execution <br />
<b>t</b> : save program text on swap device <br />
(X, s, t are not required for common tasks) <br />
<br />
the initial options <i>-R/c/f/v</i> are explained as follows : <br />
<br />
<b>-c</b> : Displays names of only those files whose permissions are being changed ( --changes can also be used instead of -c ) <br />
<br />
<b>-f</b> : Suppresses display of error messages when a file?s permissions cannot be changed ( --silent of --quiet can also be used instead of -f ) <br />
<br />
<b>-R</b>: Recursively changes the permission of all files in all subdirectories of the directory whose permissions are being changed ( --recursive can also be used ) <br />
<br />
<b>-v</b> : Displays results of all permission changes ( --verbose can also be used ) <br />
<br />
<div style="color: red;"><b>Examples: </b></div><br />
<b>chmod g-wx somefile </b>- We're removing write and execute permission for members of the group. The file will now have attributes of -rwxr-rwx. <br />
<br />
You can also specify permissions for users, groups or others in the same<br />
command, separated but commas. <br />
<br />
<b>chmod g+wx,o-rwx somefile</b> - Group members have been given write and execute access but all access has been removed for users that are not members of that group. File<br />
permissions now are -rwxrwx---. <br />
<br />
<b>chmod a+x somefile</b> - Give everyone execute access. Permissions now are -rwxrwx-x. Specifying<br />
'a' here is not essential. You could simply say '+x' here; 'all' is assumed by default. So, the command chmod +x somefile is equivalent to the one above. <br />
<br />
<b>chmod go-rx somefile</b> - If the same permission bits are to be set/unset for users, groups or<br />
others then you can club them together as above. File permissions now are -rwx-w----. <br />
<br />
<b>chmod ug=rwx somefile</b> - This sets the file permissions to exactly what is specified. Now, the file<br />
permissions become -rwxrwx---. <br />
<br />
<b>chmod o=g somefile</b> - File permissions for others are set at what the permissions for group are<br />
set. Permissions now are -rwxrwxrwx. <br />
<br />
<b>There is another way</b> in which you can specify the file permissions.<br />
Thepermission bits r,w and x are assigned a number. <br />
<blockquote><b>r = 4 </b><br />
<b>w = 2 </b><br />
<b>x = 1 </b></blockquote>Now you can use numbers, which are the sum of the various permission bits. <br />
E.g - rwx will be 4+3+1 = 7. rx becomes 4+1 = 5.<br />
The chmod command now becomes:<br />
<blockquote>chmod <b><i>xyz</i></b> filename </blockquote>where x,y and z are numbers representing the permissions of user, group and others respectively.<br />
Each number is the sum of the permissions to be set and are calculated as given above. <br />
<blockquote>chmod 644 somefile <br />
<br />
<b>6 = 4 + 2 = rw </b><br />
<b>4 = r </b><br />
<b>4 = r </b></blockquote>As you can see, the permissions for somefile are being set to -rwr--r--. <br />
<br />
This is a simpler and quicker way of setting the file permissions. Refer to the table below as a quick reference. <br />
<blockquote><b>0 - --- </b><br />
<b>1 - --x </b><br />
<b>2 - -w- </b><br />
<b>3 - -wx </b><br />
<b>4 - r-- </b><br />
<b>5 - r-x </b><br />
<b>6 - rw- </b><br />
<b>7 - rwx </b></blockquote><div style="color: red;"><span style="font-size: large;"> <b>SUID, SGID, sticky bit</b></span></div>After you have worked for a while with Linux you discover probably that there is much more to file permissions than just the "rwx" bits. When you look around in your file system you will see "s" and "t":<br />
<blockquote><i>>ls -ld /usr/bin/crontab /usr/bin/passwd /usr/sbin/sendmail /tmp</i> <br />
drwxrwxrw<span style="color: red;"><b>t</b> </span> 5 root root 1024 Jan 1 17:21 /tmp <br />
-rw<b><span style="color: red;">s</span></b>r-xr-x 1 root root 0328 May 6 1998 /usr/bin/crontab <br />
-r-<b><span style="color: red;">s</span></b>r-xr-x 1 root bin 5613 Apr 27 1998 /usr/bin/passwd <br />
-rw<b><span style="color: red;">s</span></b>r-<b><span style="color: red;">s</span></b>r-x 1 root mail 89524 Dec 3 22:18 /usr/sbin/sendmail </blockquote>What is this "s" and "t" bit? The vector of permission bits is really 4 * 3 bits long. chmod 755 is only a shortcut for chmod 0755<br />
There are cases when you may come across four non-zero digits, in this case the first meaningful (non-zero) digit combines the following bits (in this order, high to low):<b> SUID, SGID, sticky bit</b>. We also know that the last three are for owner, group and others. <br />
<br />
<br />
<b>Sticky bit</b>. It was used to trigger process to "stick" in memory after it is finished, now this usage is obsolete. Currently its use is system dependant and it is mostly used to suppress deletion of the files that belong to other users in the folder where you have "write" access to.<br />
The t-bit can be set with <b>chmod a+tw</b> or <b>chmod 1777</b>.<br />
With the t-bit set only the owner of the file or the owner of the directory can delete the files<br />
<br />
<b>SUID or setuid: change user ID on execution</b>. If setuid bit is set, when the file will be executed by a user, the process will have the same rights as the owner of the file being executed.<br />
Can be set with <b>chmod u+s</b> or <b>chmod 4755</b>.<br />
Set-UID programs are often used by "root" to give ordinary users access to things that normally only "root" can do.<br />
<br />
<b>SGID or setgid: change group ID on execution</b>. Same as above, but inherits rights of the group of the owner of the file. For directories it also may mean that when a new file is created in the directory it will inherit the group of the directory (and not of the user who created the file).<br />
Can be set with <b>chmod g+s</b> or <b>chmod 2775</b>.<br />
This is a good feature when you want to work with several people in a team and ensure that the group IDs of the files are set to the right group for the working directory of that team especially in an environment where users normally have a 027 umask that makes files un-accessible for people outside the group.<br />
<b>Numeric Representation</b><br />
<blockquote>0 - setuid, setgid and sticky bits are cleared<br />
1 - sticky bit is set<br />
2 - setgid bit is set<br />
3 - setgid and sticky bits are set<br />
4 - setuid bit is set<br />
5 - setuid and sticky bits are set<br />
6 - setuid and setgid bits are set<br />
7 - setuid, setgid, sticky bits are set</blockquote><b>Textual Representation </b><br />
<b>SUID</b><br />
If set, then replaces "x" in the owner permissions to "<b>s</b>", if owner has execute permissions, or to "<b>S</b>" otherwise. Examples:<br />
<b><tt>-rws------</tt></b> both owner execute and SUID are set<br />
<tt><b>-r-S------</b></tt> SUID is set, but owner execute is not set <br />
<b>SGID</b><br />
If set, then replaces "x" in the group permissions to "<b>s</b>", if group has execute permissions, or to "<b>S</b>" otherwise. Examples:<br />
<tt><b>-rwxrws---</b></tt> both group execute and SGID are set<br />
<tt><b>-rwxr-S---</b></tt> SGID is set, but group execute is not set<br />
<b>Sticky</b><br />
If set, then replaces "x" in the others permissions to "<b>t</b>", if others have execute permissions, or to "<b>T</b>" otherwise. Examples:<br />
<tt><b>-rwxrwxrwt</b></tt> both others execute and sticky bit are set<br />
<tt><b>-rwxrwxr-T</b></tt> sticky bit is set, but others execute is not set <br />
<br />
<div style="color: red;"><span style="font-size: large;"><b>The chown command </b></span></div><br />
The chown command is used to change the user and/or group which owns one or more files or directories. Its general format is : <br />
<blockquote>chown [-Rcfv] [username][:.][groupname] somefile </blockquote>The flags used above are same as those used in the chmod command . The following are the different ways in which this command can be used : <br />
<ul><li>The username followed by a dot or colon followed by a groupname changes both the user and group ownerships to those specified. </li>
<li>The username followed by a dot or colon and no groupname changes the user ownership as specified and changes the group ownership to the specified user?s login group. </li>
<li>If the colon or dot and groupname are specified without a username, then only the groupownership is changed. This is effectively the same as the chgrp command. </li>
<li>If the username is not followed by a dot or a colon, then only the user ownership is changed. </li>
</ul><div style="color: red;"><span style="font-size: large;"><b>The chgrp command </b></span></div><br />
The chgrp command is used to change the group ownership of one or more files or directories. Its general syntax is : <br />
<blockquote>chgrp [-Rcfv] groupname foo.txt </blockquote>The flags used here are also the same as those in the chmod command. The changes in ownership are applied to the groupname and the filename specified.<br />
<br />
Links: <a href="http://www.zzee.com/solutions/unix-permissions.shtml#setuid">1 </a>, <a href="http://www.linuxfocus.org/English/January1999/article77.html">2</a>, <a href="http://www.codecoffee.com/tipsforlinux/articles/028.html">3</a><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-73413115304382674982010-01-07T00:42:00.000-08:002010-01-07T00:42:12.435-08:00My Firefox Addons Collection<div class="separator" style="clear: both; text-align: center;"><a href="http://img705.imageshack.us/img705/2975/firefoxsdfsdfs.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="http://img705.imageshack.us/img705/2975/firefoxsdfsdfs.jpg" width="200" /></a><br />
</div><br />
Collection of most useful and powerful addons i've ever used and suggesting to other.<br />
I've tried to collect addons which are helping power users or admins to save time during surfing on the web.<br />
No funky shit, 3d Effects, or whatever design enhancements, except my favorite theme and some additional buttons. Yeap there are some addons which i'm not using but think that they are good and maybe useful for someone else except me.<br />
Collection contains 84 addons and amount is growing while i'm finding more and more usefull extensions.<br />
<br />
<span style="font-family: Verdana,sans-serif; font-size: small;">Link to my firefox collection:</span> <span style="font-family: Verdana,sans-serif; font-size: large;"><b><a href="https://addons.mozilla.org/en-US/firefox/collection/power" style="color: red;">Power User Pack</a></b></span><br />
<br />
List of some addons in my collection:<br />
- TabMixPlus<br />
- FlashGot<br />
- Firebug<br />
- Download Status Bar<br />
- Enhaced Status Bar<br />
- ScreenGrab<br />
- ImageZoom<br />
- UnMHT<br />
- Hide Menu Bar<br />
- Quick Restart<br />
- Fast Dial<br />
- All In One Sidebar<br />
- Check Places<br />
- NoScript<br />
- TreeStyle Tab<br />
and much more other cool extensions.<br />
<br />
Here is how my FF looks:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://img300.imageshack.us/img300/4025/zxczxcx.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="385" src="http://img300.imageshack.us/img300/4025/zxczxcx.jpg" width="640" /></a><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-32295293708806248592009-12-10T00:18:00.000-08:002009-12-13T08:15:54.642-08:00Working in linux terminal<b><span id="tty">Virtual terminals</span></b><br />
<code><span style="color: red;">Ctrl + Alt + F1</span> - </code>Switch to the first virtual terminal. In Linux, you can have several virtual terminals at the same time. The default is 6.<br />
<code><span style="color: red;">Ctrl + Alt + Fn <span style="color: black;">-</span></span> </code>Switch to the nth virtual terminal. Because the number of virtual terminals is 6 by default, n = 1...6.<br />
<code><span style="color: red;">tty</span> - </code>Typing the <code>tty</code> command tells you what virtual terminal you're currently working in.<br />
<code><span style="color: red;">Ctrl + Alt + F7<span style="color: black;"> -</span></span> </code>Switch to the GUI. If you have the X Window System running, it runs in the seventh virtual terminal by default in most Linux distros. If X isn't running, this terminal is empty.<br />
Note: in some distros, X runs in a different virtual terminal by default. For example, in Puppy Linux, it's 3.<br />
<br />
<b><span id="in">Command line - input</span></b><br />
<span style="color: red;"><code>Home or Ctrl + a</code></span><b><span id="in"><span style="color: red;"> </span> - </span></b>Move the cursor to the beginning of the current line.<br />
<code><span style="color: red;">End or Ctrl + e </span>-</code> Move the cursor to the end of the current line.<br />
<code><span style="color: red;">Alt + b </span> - </code>Move the cursor to the beginning of the current or previous word. Note that while this works in virtual terminals, it may not work in all graphical terminal emulators, because many graphical applications already use this as a menu shortcut by default.<br />
<code><span style="color: red;">Alt + f </span> - </code>Move the cursor to the end of the next word. Again, like with all shortcuts that use Alt as the modifier, this may not work in all graphical terminal emulators.<br />
<code><span style="color: red;">Tab </span> - </code>Autocomplete commands and file names. Type the first letter(s) of a command, directory or file name, press <code>Tab</code> and the rest is completed automatically! If there are more commands starting with the same letters, the shell completes as much as it can and beeps. If you then press <code>Tab</code> again, it shows you all the alternatives. This shortcut is really helpful and saves a lot of typing! It even works at the lilo prompt and in some X applications.<br />
<code><span style="color: red;">Ctrl + u </span> - </code>Erase the current line.<br />
<code><span style="color: red;">Ctrl + k </span> - </code>Delete the line from the position of the cursor to the end of the line.<br />
<code><span style="color: red;">Ctrl + w </span> - </code>Delete the word before the cursor .<br />
<b><span id="out"></span></b><span style="color: red; font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">Ctrl + t </span> </span></span> - Switch 2 characters on a command line. If you typed <span style="font-family: "Courier New",Courier,monospace;">sl,<span style="font-family: Times,"Times New Roman",serif;"> put the cursor </span></span>on the <span style="font-family: "Courier New",Courier,monospace;">l</span> and hit ctrl+t to get ls.<br />
<span style="color: red; font-family: "Courier New",Courier,monospace;">Ctrl + b </span> - Moves to the beginning of the previous or current word<br />
<br />
<b><span id="out">Command line - output</span></b><br />
<code><span style="color: red;">Shift + PageUp</span> - </code>Scroll terminal output up.<br />
<code><span style="color: red;">Shift + PageDown </span>- </code>Scroll terminal output down.<br />
<code><span style="color: red;">clear </span>- </code>The <code>clear</code> command clears all previously executed commands and their output from the current terminal.<br />
<code><span style="color: red;">Ctrl + l</span> - </code>Does exactly the same as typing the <code>clear</code> command.<br />
<code><span style="color: red;">reset</span> - </code> If you mess up your terminal, use the <code>reset</code> command. For example, if you try to cat a binary file, the terminal starts showing weird characters. Note that you may not be able to see the command when you're typing it .<b><span id="hist"> </span></b><br />
<span style="color: red; font-size: small;"><span style="font-family: "Courier New",Courier,monospace;">Ctrl+S Ctrl+Q</span></span><span style="font-size: small;"> </span>- terminal output lock and unlock. These are simple shortcuts to pause and continue terminal output, works in most terminals and screen multiplexers like screen. You can use it to catch something if things change too fast, and scroll with Shift + PgUp PgDown. On linux console ScrollLock can also be used.<br />
<br />
<b><span id="hist">Command line - history</span></b><br />
<code><span style="color: red;">history</span> - </code>When you type the <code>history</code> command, you'll see a list of the commands you executed previously.<br />
<code><span style="color: red;">ArrowUp or Ctrl + p</span> - </code>Scroll up in the history and edit the previously executed commands. To execute them, press <code>Enter</code> like you normally do.<br />
<code><span style="color: red;">ArrowDown or Ctrl + n </span>- </code>Scroll down in the history and edit the next commands.<br />
<code><span style="color: red;">Ctrl + r </span>- </code>Find the last command that contained the letters you're typing. For example, if you want to find out the last action you did to a file called "<code>file42.txt</code>", you'll press Ctrl + r and start typing the file name. Or, if you want to find out the last parameters you gave to the "<code>cp</code>" command, you'll press Ctrl + r and type in "<code>cp</code>".<br />
<span style="color: red; font-size: small;"><span style="font-family: "Courier New",Courier,monospace;">Sudo !!</span></span> - Run last command as root<b><b><span id="misc"> </span></b></b><br />
<b><b><span id="misc"><br />
</span></b></b><a href="http://www.commandlinefu.com/commands/view/13/run-the-last-command-as-root" title="Find out what others think of this command"></a><br />
<b><b><span id="misc"></span><span id="misc">Command line - misc</span></b></b><br />
<code><span style="color: red;">Ctrl + c </span>- </code>Kill the current process.<br />
<code><span style="color: red;">Ctrl + z </span>- </code>Send the current process to background. This is useful if you have a program running, and you need the terminal for awhile but don't want to exit the program completely. Then just send it to background with <code>Ctrl+z</code>, do whatever you want, and type the command <code>fg</code> to get the process back.<code> </code><br />
<code><span style="color: red;">Ctrl + d </span>- </code>Log out from the current terminal. If you use this in a terminal emulator under X, this usually shuts down the terminal emulator after logging you out.<br />
<code><span style="color: red;">Ctrl + Alt + Del </span>- </code>Reboot the system. You can change this behavior by editing <code>/etc/inittab</code> if you want the system to shut down instead of rebooting. <br />
<br />
Originals: <a href="http://www.tuxfiles.org/linuxhelp/shortcuts.html" style="color: red;">TuxFiles</a> + Bonuses <br />
<b><b><span id="misc"> </span></b></b><br />
<b><span id="hist"> </span></b><br />
<h2 class="mnonsense"></h2><b><span id="out"> </span></b><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-37255893310370415752009-12-06T04:13:00.000-08:002009-12-06T22:43:22.492-08:00Command LOCATE usage and errors fixingNeed to find a file fast on a linux filesystem? Use the linux <i style="color: red;">locate </i>command<br />
<blockquote>[root@localhost /]# locate openssl<br />
</blockquote>Possible error during command initialization:<br />
<blockquote>locate: can not open `/var/lib/mlocate/mlocate.db<br />
</blockquote>Type updatedb to fix this problem<br />
<blockquote>[root@localhost /]#updatedb<br />
</blockquote><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-65218418307433308492009-11-23T23:18:00.000-08:002009-11-23T23:36:31.170-08:00VIM commands. Part 2<span style="font-size: large;"><b> Search</b></span><br />
<br />
<table border="0"><tbody>
<tr> <td class="tab_bold">/word<br />
</td> <td>Search “word” from top to bottom<br />
</td> </tr>
<tr> <td class="tab_bold">?word<br />
</td> <td>Search “word” from bottom to top<br />
</td> </tr>
<tr> <td class="tab_bold">/jo[ha]n<br />
</td> <td>Search “john” or “joan”<br />
</td> </tr>
<tr> <td class="tab_bold">/\< the<br />
</td> <td>Search “the”, “theatre” or “then”<br />
</td> </tr>
<tr> <td class="tab_bold">/the\><br />
</td> <td>Search “the” or “breathe”<br />
</td> </tr>
<tr> <td class="tab_bold">/\< the\><br />
</td> <td>Search “the”<br />
</td> </tr>
<tr> <td class="tab_bold">/\< ….\><br />
</td> <td>Search all words of 4 letters<br />
</td> </tr>
<tr> <td class="tab_bold">/\/<br />
</td> <td>Search “fred” but not “alfred” or “frederick”<br />
</td> </tr>
<tr> <td class="tab_bold">/fred\|joe<br />
</td> <td>Search “fred” or “joe”<br />
</td> </tr>
<tr> <td class="tab_bold">/\<\d\d\d\d\><br />
</td> <td>Search exactly 4 digits<br />
</td> </tr>
<tr> <td class="tab_bold">/^\n\{3}<br />
</td> <td>Find 3 empty lines<br />
</td> </tr>
<tr> <td class="tab_bold">:bufdo /searchstr/<br />
</td> <td>Search in all open files<br />
</td> </tr>
</tbody> </table><h2 id="remplacer"><br />
<a name='more'></a>Replace<br />
<br />
<br />
</h2><br />
<table border="0"><tbody>
<tr> <td class="tab_bold">:%s/old/new/g<br />
</td> <td>Replace all occurences of “old” by “new” in file<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/old/new/gw<br />
</td> <td>Replace all occurences with confirmation<br />
</td> </tr>
<tr> <td class="tab_bold">:2,35s/old/new/g<br />
</td> <td>Replace all occurences between lines 2 and 35<br />
</td> </tr>
<tr> <td class="tab_bold">:5,$s/old/new/g<br />
</td> <td>Replace all occurences from line 5 to EOF<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/^/hello/g<br />
</td> <td>Replace the begining of each line by “hello”<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/$/Harry/g<br />
</td> <td>Replace the end of each line by “Harry”<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/onward/forward/gi<br />
</td> <td>Replace “onward” by “forward” , case unsensitive<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/ *$//g<br />
</td> <td>Delete all white spaces<br />
</td> </tr>
<tr> <td class="tab_bold">:g/string/d<br />
</td> <td>Delete all lines containing “string”<br />
</td> </tr>
<tr> <td class="tab_bold">:v/string/d<br />
</td> <td>Delete all lines containing which didn't contain “string”<br />
</td> </tr>
<tr> <td class="tab_bold">:s/Bill/Steve/<br />
</td> <td>Replace the first occurence of “Bill” by “Steve” in current line<br />
</td> </tr>
<tr> <td class="tab_bold">:s/Bill/Steve/g<br />
</td> <td>Replace “Bill” by “Steve” in current line<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/Bill/Steve/g<br />
</td> <td>Replace “Bill” by “Steve” in all the file<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/\r//g<br />
</td> <td>Delete DOS carriage returns (^M)<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/\r/\r/g<br />
</td> <td>Transform DOS carriage returns in returns<br />
</td> </tr>
<tr> <td class="tab_bold">:%s#<[^>]\+>##g<br />
</td> <td>Delete HTML tags but keeps text<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/^\(.*\)\n\1$/\1/<br />
</td> <td>Delete lines which appears twice<br />
</td> </tr>
<tr> <td class="tab_bold">Ctrl+a<br />
</td> <td>Increment number under the cursor<br />
</td> </tr>
<tr> <td class="tab_bold">Ctrl+x<br />
</td> <td>Decrement number under cursor<br />
</td> </tr>
<tr> <td class="tab_bold">ggVGg?<br />
</td> <td>Change text to Rot13<br />
</td> </tr>
</tbody> </table><h2 id="casse">Case</h2><table border="0"><tbody>
<tr> <td class="tab_bold">Vu<br />
</td> <td>Lowercase line<br />
</td> </tr>
<tr> <td class="tab_bold">VU<br />
</td> <td>Uppercase line<br />
</td> </tr>
<tr> <td class="tab_bold">g~~<br />
</td> <td>Invert case<br />
</td> </tr>
<tr> <td class="tab_bold">vEU<br />
</td> <td>Switch word to uppercase<br />
</td> </tr>
<tr> <td class="tab_bold">vE~<br />
</td> <td>Modify word case<br />
</td> </tr>
<tr> <td class="tab_bold">ggguG<br />
</td> <td>Set all text to lowercase<br />
</td> </tr>
<tr> <td class="tab_bold">:set ignorecase<br />
</td> <td>Ignore case in searches<br />
</td> </tr>
<tr> <td class="tab_bold">:set smartcase<br />
</td> <td>Ignore case in searches excepted if an uppercase letter is used<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/\<./\u&/g<br />
</td> <td>Sets first letter of each word to uppercase<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/\<./\l&/g<br />
</td> <td>Sets first letter of each word to lowercase<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/.*/\u&<br />
</td> <td>Sets first letter of each line to uppercase<br />
</td> </tr>
<tr> <td class="tab_bold">:%s/.*/\l&<br />
</td> <td>Sets first letter of each line to lowercase<br />
</td> </tr>
</tbody> </table><h2 id="lecture">Read/Write files</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:1,10 w outfile<br />
</td> <td>Saves lines 1 to 10 in <i>outfile</i><br />
</td> </tr>
<tr> <td class="tab_bold">:1,10 w >> outfile<br />
</td> <td>Appends lines 1 to 10 to <i>outfile</i><br />
</td> </tr>
<tr> <td class="tab_bold">:r infile<br />
</td> <td>Insert the content of <i>infile</i><br />
</td> </tr>
<tr> <td class="tab_bold">:23r infile<br />
</td> <td>Insert the content of <i>infile</i> under line 23<br />
</td> </tr>
</tbody> </table><h2 id="explorateur">File explorer</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:e .<br />
</td> <td>Open integrated file explorer<br />
</td> </tr>
<tr> <td class="tab_bold">:Sex<br />
</td> <td>Split window and open integrated file explorer<br />
</td> </tr>
<tr> <td class="tab_bold">:browse e<br />
</td> <td>Graphical file explorer<br />
</td> </tr>
<tr> <td class="tab_bold">:ls<br />
</td> <td>List buffers<br />
</td> </tr>
<tr> <td class="tab_bold">:cd ..<br />
</td> <td>Move to parent directory<br />
</td> </tr>
<tr> <td class="tab_bold">:args<br />
</td> <td>List files<br />
</td> </tr>
<tr> <td class="tab_bold">:args *.php<br />
</td> <td>Open file list<br />
</td> </tr>
<tr> <td class="tab_bold">:grep expression *.php<br />
</td> <td>Returns a list of .php files contening <i>expression</i><br />
</td> </tr>
<tr> <td class="tab_bold">gf<br />
</td> <td>Open file name under cursor<br />
</td> </tr>
</tbody> </table><h2 id="unix">Interact with Unix</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:!pwd<br />
</td> <td>Execute the “pwd” unix command, then returns to Vi<br />
</td> </tr>
<tr> <td class="tab_bold">!!pwd<br />
</td> <td>Execute the “pwd” unix command and insert output in file<br />
</td> </tr>
<tr> <td class="tab_bold">:sh<br />
</td> <td>Temporary returns to Unix<br />
</td> </tr>
<tr> <td class="tab_bold">$exit<br />
</td> <td>Retourns to Vi<br />
</td> </tr>
</tbody> </table><h2 id="alignement">Alignment</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:%!fmt<br />
</td> <td>Align all lines<br />
</td> </tr>
<tr> <td class="tab_bold">!}fmt<br />
</td> <td>Align all lines at the current position<br />
</td> </tr>
<tr> <td class="tab_bold">5!!fmt<br />
</td> <td>Align the next 5 lines<br />
</td> </tr>
</tbody> </table><h2 id="onglets">Tabs</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:tabnew<br />
</td> <td>Creates a new tab<br />
</td> </tr>
<tr> <td class="tab_bold">gt<br />
</td> <td>Show next tab<br />
</td> </tr>
<tr> <td class="tab_bold">:tabfirst<br />
</td> <td>Show first tab<br />
</td> </tr>
<tr> <td class="tab_bold">:tablast<br />
</td> <td>Show last tab<br />
</td> </tr>
<tr> <td class="tab_bold">:tabm n(position)<br />
</td> <td>Rearrange tabs<br />
</td> </tr>
<tr> <td class="tab_bold">:tabdo %s/foo/bar/g<br />
</td> <td>Execute a command in all tabs<br />
</td> </tr>
<tr> <td class="tab_bold">:tab ball<br />
</td> <td>Puts all open files in tabs<br />
</td> </tr>
</tbody> </table><h2 id="partage">Window spliting</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:e filename<br />
</td> <td>Edit <i>filename</i> in current window<br />
</td> </tr>
<tr> <td class="tab_bold">:split filename<br />
</td> <td>Split the window and open <i>filename</i><br />
</td> </tr>
<tr> <td class="tab_bold">ctrl-w up arrow<br />
</td> <td>Puts cursor in top window<br />
</td> </tr>
<tr> <td class="tab_bold">ctrl-w ctrl-w<br />
</td> <td>Puts cursor in next window<br />
</td> </tr>
<tr> <td class="tab_bold">ctrl-w_<br />
</td> <td>Maximise current window<br />
</td> </tr>
<tr> <td class="tab_bold">ctrl-w=<br />
</td> <td>Gives the same size to all windows<br />
</td> </tr>
<tr> <td class="tab_bold">10 ctrl-w+<br />
</td> <td>Add 10 lines to current window<br />
</td> </tr>
<tr> <td class="tab_bold">:vsplit file<br />
</td> <td>Split window vertically<br />
</td> </tr>
<tr> <td class="tab_bold">:sview file<br />
</td> <td>Same as <b>:split</b> in readonly mode<br />
</td> </tr>
<tr> <td class="tab_bold">:hide<br />
</td> <td>Close current window<br />
</td> </tr>
<tr> <td class="tab_bold">:only<br />
</td> <td>Close all windows, excepted current<br />
</td> </tr>
<tr> <td class="tab_bold">:b 2<br />
</td> <td>Open #2 in this window<br />
</td> </tr>
</tbody> </table><h2 id="completion">Auto-completion</h2><table border="0"><tbody>
<tr> <td class="tab_bold">Ctrl+n Ctrl+p (in insert mode)<br />
</td> <td>Complete word<br />
</td> </tr>
<tr> <td class="tab_bold">Ctrl+x Ctrl+l<br />
</td> <td>Complete line<br />
</td> </tr>
<tr> <td class="tab_bold">:set dictionary=dict<br />
</td> <td>Define <i>dict</i> as a dictionnary<br />
</td> </tr>
<tr> <td class="tab_bold">Ctrl+x Ctrl+k<br />
</td> <td>Complete with dictionnary<br />
</td> </tr>
</tbody> </table><h2 id="marqueurs">Marks</h2><table border="0"><tbody>
<tr> <td class="tab_bold">mk<br />
</td> <td>Marks current position as <i>k</i><br />
</td> </tr>
<tr> <td class="tab_bold">‘k<br />
</td> <td>Moves cursor to mark <i>k</i><br />
</td> </tr>
<tr> <td class="tab_bold">d’k<br />
</td> <td>Delete all until mark <i>k</i><br />
</td> </tr>
</tbody> </table><h2 id="abbr">Abbreviations</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:ab mail mail@provider.org<br />
</td> <td>Define <i>mail</i> as abbreviation of <i>mail@provider.org</i><br />
</td> </tr>
</tbody> </table><h2 id="indentation">Text indent</h2><table border="0"><tbody>
<tr> <td class="tab_bold">:set autoindent<br />
</td> <td>Turn on auto-indent<br />
</td> </tr>
<tr> <td class="tab_bold">:set smartindent<br />
</td> <td>Turn on intelligent auto-indent<br />
</td> </tr>
<tr> <td class="tab_bold">:set shiftwidth=4<br />
</td> <td>Defines 4 spaces as indent size<br />
</td> </tr>
<tr> <td class="tab_bold">ctrl-t, ctrl-d<br />
</td> <td>Indent/un-indent in insert mode<br />
</td> </tr>
<tr> <td class="tab_bold">>><br />
</td> <td>Indent<br />
</td> </tr>
<tr> <td class="tab_bold"><<<br />
</td> <td>Un-indent<br />
</td> </tr>
</tbody> </table><h2 id="coloration">Syntax highlighting</h2><table border="0"><tbody>
<tr></tr>
<tr><td class="tab_bold">:syntax on<br />
</td><td>Turn on syntax highlighting<br />
</td></tr>
<tr><td class="tab_bold">:syntax off<br />
</td><td>Turn off syntax highlighting<br />
</td></tr>
<tr><td class="tab_bold">:set syntax=perl<br />
</td><td>Force syntax highlighting<br />
</td></tr>
</tbody></table><h2 id="coloration" style="text-align: right;"><a href="http://www.catswhocode.com/blog/100-vim-commands-every-programmer-should-know"><span style="font-size: small;">Original </span></a><br />
</h2><div style="color: red; text-align: right;">+ Bonus:<br />
</div><div style="text-align: right;"><a href="http://raffy.ch/projects/vim.html">http://raffy.ch/projects/vim.html</a><br />
</div><div style="text-align: right;"><a href="http://www.tuxfiles.org/linuxhelp/vimcheat.html">http://www.tuxfiles.org/linuxhelp/vimcheat.html</a><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-34489844992699702242009-11-23T23:15:00.000-08:002009-11-23T23:22:42.634-08:00VIM Editor Commands, with examples. Part 1<span style="font-size: small;">Vim is an editor to create or edit a text file. There are two modes in vim. One is the command mode and another is the insert mode.</span><br />
<span style="font-size: small;">In the command mode, user can move around the file, delete text, etc.</span><br />
<span style="font-size: small;">In the insert mode, user can insert text.</span><br />
<span style="font-size: small;"><br />
</span><br />
<span style="font-size: small;"><b>Changing mode from one to another</b></span><br />
<span style="font-size: small;"><b>From</b> command mode <b>to</b> insert mode type <b>a</b>/<b>A</b>/<b>i</b>/<b>I</b>/<b>o</b>/<b>O</b> ( see details below)</span><br />
<span style="font-size: small;"><b>From</b> insert mode <b>to</b> command mode type <b>Esc</b> (escape key)</span><br />
<span style="font-size: small;">Some useful commands for VIM</span><br />
<span style="font-size: small;"><b><span style="font-family: Courier New;">Text Entry Commands</span></b></span><span style="font-family: Courier New; font-size: small;"> (Used to start text entry)</span><br />
<span style="font-family: Courier New; font-size: small;"><b>a</b> Append text following current cursor position</span><br />
<span style="font-family: Courier New; font-size: small;"><b>A</b> Append text to the end of current line</span><br />
<span style="font-family: Courier New; font-size: small;"><b>i</b> Insert text before the current cursor position</span><br />
<span style="font-family: Courier New; font-size: small;"><b>I</b> Insert text at the beginning of the cursor line</span><br />
<span style="font-family: Courier New; font-size: small;"><b>o</b> Open up a new line following the current line and add text there</span><br />
<span style="font-family: Courier New; font-size: small;"><b>O</b> Open up a new line in front of the current line and add text there</span><br />
<a name='more'></a><span style="font-size: small;"><b>The following commands are used only in the commands mode. </b></span><br />
<span style="font-size: small;"><b><span style="font-family: Courier New;">Cursor Movement Commands</span></b></span><br />
<span style="font-family: Courier New; font-size: small;">h Moves the cursor one character to the left</span><br />
<span style="font-family: Courier New; font-size: small;">l Moves the cursor one character to the right</span><br />
<span style="font-family: Courier New; font-size: small;">k Moves the cursor up one line </span><br />
<span style="font-family: Courier New; font-size: small;">j Moves the cursor down one line</span><br />
<span style="font-family: Courier New; font-size: small;">nG or :n Cursor goes to the specified (n) line</span><br />
<span style="font-family: Courier New; font-size: small;"><i>(ex. 10G goes to line 10)<br />
</i></span><span style="font-family: Courier New; font-size: small;">^F (CTRl F) Forward screenful</span><br />
<span style="font-family: Courier New; font-size: small;">^B Backward screenful</span><br />
<span style="font-family: Courier New; font-size: small;">^f One page forward</span><br />
<span style="font-family: Courier New; font-size: small;">^b One page backward</span><br />
<span style="font-family: Courier New; font-size: small;">^U Up half screenful</span><br />
<span style="font-family: Courier New; font-size: small;">^D Down half screenful</span><br />
<span style="font-family: Courier New; font-size: small;">$ Move cursor to the end of current line</span><br />
<span style="font-family: Courier New; font-size: small;">0 (zero) Move cursor to the beginning of current line</span><br />
<span style="font-family: Courier New; font-size: small;">w Forward one word</span><br />
<span style="font-family: Courier New; font-size: small;">b Backward one word</span><br />
<span style="font-family: Courier New; font-size: small;"><b>Exit Commands<br />
</b></span><span style="font-family: Courier New; font-size: small;">:wq Write file to disk and quit the editor</span><br />
<span style="font-family: Courier New; font-size: small;">:q! Quit (no warning)</span><br />
<span style="font-family: Courier New; font-size: small;">:q Quit (a warning is printed if a modified file has not been saved)</span><br />
<span style="font-family: Courier New; font-size: small;">ZZ Save workspace and quit the editor (same as :wq)</span><br />
<span style="font-family: Courier New; font-size: small;">: 10,25 w temp </span><br />
<span style="font-family: Courier New; font-size: small;">write lines 10 through 25 into file named temp. Of course, other line</span><br />
<span style="font-family: Courier New; font-size: small;">numbers can be used. (Use :f to find out the line numbers you want.</span><br />
<span style="font-family: Courier New; font-size: small;"><b><br />
Text Deletion Commands<br />
</b></span><span style="font-family: Courier New; font-size: small;">x Delete character</span><br />
<span style="font-family: Courier New; font-size: small;">dw Delete word from cursor on</span><br />
<span style="font-family: Courier New; font-size: small;">db Delete word backward</span><br />
<span style="font-family: Courier New; font-size: small;">dd Delete line</span><br />
<span style="font-family: Courier New; font-size: small;">d$ Delete to end of line</span><br />
<span style="font-family: Courier New; font-size: small;">d^ (d caret, not CTRL d) Delete to beginning of line</span><br />
<span style="font-family: Courier New; font-size: small;"><b>Yank</b> (has most of the options of delete)-- VI's <b>copy</b> commmand</span><br />
<span style="font-family: Courier New; font-size: small;">yy yank current line</span><br />
<span style="font-family: Courier New; font-size: small;">y$ yank to end of current line from cursor</span><br />
<span style="font-family: Courier New; font-size: small;">yw yank from cursor to end of current word</span><br />
<span style="font-family: Courier New; font-size: small;">5yy yank, for example, 5 lines</span><br />
<span style="font-family: Courier New; font-size: small;"><b>Paste</b> (used after delete or yank to recover lines.) </span><br />
<span style="font-family: Courier New; font-size: small;">p paste below cursor </span><br />
<span style="font-family: Courier New; font-size: small;">P paste above cursor</span><br />
<span style="font-family: Courier New; font-size: small;">"2p paste from buffer 2 (there are 9)</span><br />
<span style="font-family: Courier New; font-size: small;">u Undo last change</span><br />
<span style="font-family: Courier New; font-size: small;">U Restore line</span><br />
<span style="font-family: Courier New; font-size: small;">J Join next line down to the end of the current line</span><br />
<span style="font-family: Courier New; font-size: small;"><b>File Manipulation Commands<br />
</b></span><span style="font-family: Courier New; font-size: small;">:w Write workspace to original file</span><br />
<span style="font-family: Courier New; font-size: small;">:w file Write workspace to named file</span><br />
<span style="font-family: Courier New; font-size: small;">:e file Start editing a new file</span><br />
<span style="font-family: Courier New; font-size: small;">:r file Read contents of a file to the workspace</span><br />
<span style="font-family: Courier New; font-size: small;"><b>To create a page break,</b> while in the insert mode, press the CTRL key</span><br />
<span style="font-family: Courier New; font-size: small;">And l. ^L will appear in your text and will cause the printer to start</span><br />
<span style="font-family: Courier New; font-size: small;">A new page.</span><br />
<span style="font-size: small;"><br />
</span><br />
<span style="font-family: Courier New; font-size: small;"><b><br />
Other Useful Commands<br />
</b></span><span style="font-family: Courier New; font-size: small;">Most commands can be repeated n times by typing a number, n, before</span><br />
<span style="font-family: Courier New; font-size: small;">the command. For example 10dd means delete 10 lines.</span><br />
<span style="font-family: Courier New; font-size: small;">. Repeat last command</span><br />
<span style="font-family: Courier New; font-size: small;">cw Change current word to a new word</span><br />
<span style="font-family: Courier New; font-size: small;">r Replace one character at the cursor position</span><br />
<span style="font-family: Courier New; font-size: small;">R Begin overstrike or replace mode – use ESC key to exit</span><br />
<span style="font-family: Courier New; font-size: small;">:/ pattern Search forward for the pattern</span><br />
<span style="font-family: Courier New; font-size: small;">:? pattern Search backward for the pattern</span><br />
<span style="font-family: Courier New; font-size: small;">n (used after either of the 2 search commands above to</span><br />
<span style="font-family: Courier New; font-size: small;">continue to find next occurrence of the pattern.</span><br />
<span style="font-family: Courier New; font-size: small;">:g/pat1/s//pat2/g replace every occurrence of pattern1 (pat1) with</span><br />
<span style="font-family: Courier New; font-size: small;">pat2</span><br />
<span style="font-family: Courier New; font-size: small;"><b>Example :</b>g/tIO/s//Ada.Text_IO/g</span><br />
<span style="font-family: Courier New; font-size: small;">This will find and replace tIO by Ada.text_IO everywhere in the file.</span><br />
<span style="font-family: Courier New; font-size: small;">:g/a/s// /g replace the letter a, by blank</span><br />
<span style="font-family: Courier New; font-size: small;">:g/a/s///g replace a by nothing</span><br />
<span style="font-family: Courier New; font-size: small;">note: Even this command be undone by u </span><br />
<span style="font-size: small;"><br />
<b>Examples <br />
Opening a New File<br />
</b>Step 1 type <b>vim <i>filename</i></b> (create a file named <i>filename</i>)</span><br />
<span style="font-size: small;">Step 2 type <b>i</b> ( switch to insert mode)</span><br />
<span style="font-size: small;">Step 3 enter text (enter your Ada program)</span><br />
<span style="font-size: small;">Step 4 hit <b>Esc key</b> (switch back to command mode)</span><br />
<span style="font-size: small;">Step 5 type <b>:wq</b> (write file and exit vim)</span><br />
<span style="font-size: small;"><b><br />
Editing the Existing File<br />
</b>Step 1 type <b>vim <i>filename</i></b> (edit the existing file named filename)</span><br />
<span style="font-size: small;">Step 2 move around the file using <b>h</b>/<b>j</b>/<b>k</b>/<b>l</b> key or any appropriate command</span><br />
<span style="font-size: small;"><b><span style="font-family: Courier New;">h</span></b></span><span style="font-family: Courier New; font-size: small;"> Moves the cursor one character to the left</span><br />
<br />
<dir> <dir> <dir> <dir> <span style="font-family: Courier New; font-size: small;"><b>l</b> Moves the cursor one character to the right</span><span style="font-size: small;"><br />
</span> <span style="font-family: Courier New; font-size: small;"><b>k</b> Moves the cursor up one line </span><span style="font-size: small;"><br />
</span> <span style="font-family: Courier New; font-size: small;"><b>j</b> Moves the cursor down one line</span><span style="font-size: small;"><br />
</span> <span style="font-family: Courier New; font-size: small;"><b>nG</b> or :n Cursor goes to the specified (n) line</span><span style="font-size: small;"><br />
</span> <span style="font-family: Courier New; font-size: small;"><i>(ex. 10G goes to line 10)</i></span><span style="font-size: small;"><br />
</span> </dir> </dir> </dir> </dir><span style="font-size: small;"> Step 3 <b>edit</b> required text (replace or delete or insert) </span><span style="font-size: small;">Step 4 hit <b>Esc</b> key (exit from insert mode if you insert or replace text)</span><br />
<span style="font-size: small;">Step 5 type <b>:wq</b></span><br />
<div style="text-align: right;"><span style="font-size: small;"><b><a href="http://www.cs.runet.edu/%7Emhtay/CPSC120/VIM_Editor_Commands.htm">Original</a> <br />
</b></span><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-20025286021784210342009-11-17T03:16:00.000-08:002009-11-18T10:42:56.002-08:00Configure network settings in linux via terminal<i><span style="font-size: x-small;">Applies to (Centos, Fedora, Red Hat Enterprise Linux 5)</span></i><br />
<b><span style="font-size: large;"><span style="color: red;">Simple method:</span></span></b><br />
<blockquote><pre># ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255</pre></blockquote><div style="color: red;"><span style="font-size: large;"><b>Or manually edit configuration files stored in <i>/etc/sysconfig/network-scripts/</i></b></span><br />
</div><br />
You can configure network card by editing text files stored in <span style="color: red;">/etc/sysconfig/network-scripts/</span> directory. First change directory to /etc/sysconfig/network-scripts/:<br />
<blockquote><code># cd /etc/sysconfig/network-scripts/</code><br />
</blockquote>You need to edit / create files as follows:<br />
<ul><li><b>/etc/sysconfig/network-scripts/ifcfg-eth0</b> : First Ethernet card configuration file</li>
<li><b>/etc/sysconfig/network-scripts/ifcfg-eth1</b> : Second Ethernet card configuration file</li>
</ul>To edit/create first NIC file, type command:<br />
<br />
<a name='more'></a><blockquote><code># vi ifcfg-eth0</code><br />
</blockquote>Append/modify as follows:<code><br />
</code><br />
<blockquote><code> # Intel Corporation 82573E Gigabit Ethernet Controller (Copper)</code><br />
<code> DEVICE=eth0</code><br />
<code> BOOTPROTO=static</code><br />
<code> DHCPCLASS=</code><br />
<code> HWADDR=00:30:48:56:A6:2E</code><br />
<code> IPADDR=10.10.29.66</code><br />
<code> NETMASK=255.255.255.192</code><br />
<code> ONBOOT=yes</code><br />
</blockquote><br />
Save and close the file. Define default gateway (router IP) and hostname in /etc/sysconfig//network file:<br />
<blockquote><code># vi /etc/sysconfig/network</code><br />
</blockquote>Append/modify configuration as follows:<br />
<blockquote><code>NETWORKING=yes</code><br />
<code> HOSTNAME=www1.nixcraft.in</code><br />
<code> GATEWAY=10.10.29.65</code><br />
</blockquote>Save and close the file. Restart networking:<br />
<blockquote><code># /etc/init.d/network restart</code><br />
</blockquote>Make sure you have correct DNS server defined in /etc/resolv.conf file:<br />
<blockquote><code># vi /etc/resolv.conf</code><br />
</blockquote>Setup DNS Server as follows:<br />
<blockquote><code>nameserver 10.0.80.11</code><br />
<code> nameserver 10.0.80.12</code><br />
<code> nameserver 202.67.222.222</code><br />
</blockquote>Save and close the file. Now you can ping the gateway/other hosts:<br />
<blockquote><code>$ ping 10.0.80.12 </code><br />
</blockquote>Output: <br />
<blockquote><pre>PING 10.0.80.12 (10.0.80.12) 56(84) bytes of data.
64 bytes from 10.0.80.12: icmp_seq=1 ttl=251 time=0.972 ms
64 bytes from 10.0.80.12: icmp_seq=2 ttl=251 time=1.11 ms</pre></blockquote><span style="font-size: large;"><b style="color: red;">Change HOSTNAME</b></span><br />
<br />
<b>Step # 1: </b><br />
You need to update two files:<br />
<ol><li>Linux Distribution specific file. Edit appropriate file as per your distribution as follows.</li>
<li>/etc/hosts</li>
</ol><h3><span style="color: red;"></span><span style="font-weight: normal;">Edit /etc/sysconfig/network, enter:</span></h3><blockquote><pre class="bash">vi /etc/sysconfig/network</pre></blockquote>Set HOSTNAME=newhost.example.com, enter:<br />
<blockquote><pre class="bash"><span style="color: #007800;">HOSTNAME=</span>server2.nixcraft.com</pre></blockquote>Save and close the file. Type the following command:<br />
<blockquote><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">hostname</span> server2.nixcraft.com
<span style="color: #c20cb9; font-weight: bold;">hostname</span></pre></blockquote>Now, proceed to step # 2.<br />
<br />
<b>Step # 2: </b><br />
Now, you need to edit /etc/hosts file, enter:<br />
<blockquote><pre class="bash">vi /etc/hosts</pre></blockquote>Change all old hostname with newer one.<br />
<div style="text-align: right;">Originals: <b style="color: red;"><a href="http://www.cyberciti.biz/faq/rhel-centos-fedoracore-linux-network-card-configuration/">1</a></b> and <b style="color: red;"><a href="http://www.cyberciti.biz/faq/linux-change-hostname/">2</a></b><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-26737088209942958502009-11-16T11:11:00.000-08:002009-11-16T11:11:39.193-08:00This site is running TeamViewer.Instructions on how to disable TeamViewer from listening on Port 80. Instructions are as follows:<br />
<br />
1. Open port 5938 (TCP) on your firewall.<br />
2. Change the following registry keys.<br />
<br />
* [HKEY_LOCAL_MACHINE\SOFTWARE\<br />
TeamViewer\Version4] Key ’GatewayAllowed’ set to 0<br />
*<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version4] Key ’ListenHttp’ set to 0<br />
<br />
After you make these changes, you should no longer have TeamViewer listening in on port 80, killing your local web server.<div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-43054209269989950312009-11-09T00:57:00.000-08:002010-10-22T01:25:20.806-07:00Cisco IOS Packaging Codes<meta content="text/html; charset=utf-8" http-equiv="Content-Type"></meta><meta content="Word.Document" name="ProgId"></meta><meta content="Microsoft Word 12" name="Generator"></meta><meta content="Microsoft Word 12" name="Originator"></meta><link href="file:///C:%5CDOCUME%7E1%5Csysadmin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"></link><link href="file:///C:%5CDOCUME%7E1%5Csysadmin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"></link><link href="file:///C:%5CDOCUME%7E1%5Csysadmin%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"></link><style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:204;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:204;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1073750139 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-noshow:yes;
mso-style-priority:99;
color:purple;
mso-themecolor:followedhyperlink;
text-decoration:underline;
text-underline:single;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
{mso-style-priority:1;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:10.0pt;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
mso-ascii-font-family:Calibri;
mso-fareast-font-family:Calibri;
mso-hansi-font-family:Calibri;}
@page Section1
{size:8.5in 11.0in;
margin:56.7pt 42.5pt 56.7pt 85.05pt;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:86272898;
mso-list-type:hybrid;
mso-list-template-ids:1162509980 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Symbol","sans-serif";}
@list l1
{mso-list-id:2078939636;
mso-list-type:hybrid;
mso-list-template-ids:-858781936 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Symbol","sans-serif";}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style> <br />
<div class="MsoNoSpacing"><b><span style="font-size: 12pt;">c3725-ipbasek9-mz.124-25b.bin<o:p></o:p></span></b></div><table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" height="57" style="border-collapse: collapse; border: medium none; width: 485px;"><tbody>
<tr> <td style="border: 1pt solid black; padding: 0in 5.4pt; width: 55.25pt;" valign="top" width="74"><div class="MsoNoSpacing"><span style="color: red;">C3725<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 53.65pt;" valign="top" width="72"><div class="MsoNoSpacing"><span style="color: red;">ipbase<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing"><span style="color: red;">K9<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in;" valign="top" width="72"><div class="MsoNoSpacing"><span style="color: red;">M<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 69.05pt;" valign="top" width="92"><div class="MsoNoSpacing"><span style="color: red;">Z<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 70.45pt;" valign="top" width="94"><div class="MsoNoSpacing"><span style="color: red;">124<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 54.5pt;" valign="top" width="73"><div class="MsoNoSpacing"><span style="color: red;">25<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 62.5pt;" valign="top" width="83"><div class="MsoNoSpacing"><span style="color: red;">b<o:p></o:p></span></div></td> </tr>
<tr> <td style="border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 55.25pt;" valign="top" width="74"><div class="MsoNoSpacing">Platform</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 53.65pt;" valign="top" width="72"><div class="MsoNoSpacing">Feature Set</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing">Crypto Incl.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in;" valign="top" width="72"><div class="MsoNoSpacing">Memory Loc.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 69.05pt;" valign="top" width="92"><div class="MsoNoSpacing">Compression Format</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 70.45pt;" valign="top" width="94"><div class="MsoNoSpacing">Maintenance Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 54.5pt;" valign="top" width="73"><div class="MsoNoSpacing">Individual Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 62.5pt;" valign="top" width="83"><div class="MsoNoSpacing">Numbered Version</div></td> </tr>
</tbody></table><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b><span style="font-size: 12pt;">c3725-ipbase-mz.124-25b.bin<o:p></o:p></span></b></div><table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" height="75" style="border-collapse: collapse; border: medium none; width: 429px;"><tbody>
<tr> <td style="border: 1pt solid black; padding: 0in 5.4pt; width: 57.35pt;" valign="top" width="76"><div class="MsoNoSpacing"><span style="color: red;">C3725<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 51.55pt;" valign="top" width="69"><div class="MsoNoSpacing"><span style="color: red;">ipbase<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing"><br />
</div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 53.5pt;" valign="top" width="71"><div class="MsoNoSpacing"><span style="color: red;">M<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 69.05pt;" valign="top" width="92"><div class="MsoNoSpacing"><span style="color: red;">Z<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 69.9pt;" valign="top" width="93"><div class="MsoNoSpacing"><span style="color: red;">124<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 55.05pt;" valign="top" width="73"><div class="MsoNoSpacing"><span style="color: red;">25<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 63.9pt;" valign="top" width="85"><div class="MsoNoSpacing"><span style="color: red;">b<o:p></o:p></span></div></td> </tr>
<tr> <td style="border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 57.35pt;" valign="top" width="76"><div class="MsoNoSpacing">Platform</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 51.55pt;" valign="top" width="69"><div class="MsoNoSpacing">Feature Set</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing">No Crypto Incl.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 53.5pt;" valign="top" width="71"><div class="MsoNoSpacing">Memory Loc.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 69.05pt;" valign="top" width="92"><div class="MsoNoSpacing">Compression Format</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 69.9pt;" valign="top" width="93"><div class="MsoNoSpacing">Maintenance Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 55.05pt;" valign="top" width="73"><div class="MsoNoSpacing">Individual Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63.9pt;" valign="top" width="85"><div class="MsoNoSpacing">Numbered Version</div></td> </tr>
</tbody></table><div class="MsoNoSpacing"><br />
</div><a name='more'></a><br />
<div class="MsoNoSpacing"><b>IOS Feature Sets…<o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>ipbase</u> = Classic IP Data + Trunking and DSL</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>ipvoice</u> = Adds Voice to Data (VoIP & VoFR)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>spservices</u> = Adds SP Services to Voice & Data (SSH/SSL, ATM, VoATM, MPLS, etc)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>entbase</u> = Adds multiprotocol services to Data (L3 routed protocols)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>entservices</u> = Enterprise Base and SP Services </div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>advsecurity</u> = Add Sec/VPN to Data (IOS FW, IPS/IDS, NAC, SSH/SSL, IPSec, etc.)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>advipservices</u> = Advanced Security and SP Services (IPv6)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><u>adventerprise</u> = Full Cisco IOS software</div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b><span style="font-size: 12pt;">c3725-adventerprisek9_sna-mz.124-25b.bin<o:p></o:p></span></b></div><table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" height="57" style="border-collapse: collapse; border: medium none; width: 326px;"><tbody>
<tr> <td style="border: 1pt solid black; padding: 0in 5.4pt; width: 54.9pt;" valign="top" width="73"><div class="MsoNoSpacing"><span style="color: red;">C3725<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing"><span style="color: red;">ipbase<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing"><span style="color: red;">K9<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in;" valign="top" width="72"><div class="MsoNoSpacing"><span style="color: red;">_sna<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing"><span style="color: red;">M<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 1in;" valign="top" width="96"><div class="MsoNoSpacing"><span style="color: red;">Z<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 1in;" valign="top" width="96"><div class="MsoNoSpacing"><span style="color: red;">124<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing"><span style="color: red;">25<o:p></o:p></span></div></td> <td style="border-color: black black black -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt;" valign="top" width="84"><div class="MsoNoSpacing"><span style="color: red;">b<o:p></o:p></span></div></td> </tr>
<tr> <td style="border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 54.9pt;" valign="top" width="73"><div class="MsoNoSpacing">Platform</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing">Feature Set</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing">Crypto Incl.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in;" valign="top" width="72"><div class="MsoNoSpacing">SNA Switching</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 49.5pt;" valign="top" width="66"><div class="MsoNoSpacing">Memory Loc.</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1in;" valign="top" width="96"><div class="MsoNoSpacing">Compression Format</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 1in;" valign="top" width="96"><div class="MsoNoSpacing">Maintenance Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt;" valign="top" width="78"><div class="MsoNoSpacing">Individual Release</div></td> <td style="border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt;" valign="top" width="84"><div class="MsoNoSpacing">Numbered Version</div></td> </tr>
</tbody></table><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b>Feature Set Additions…<o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>_sna</b> = sna switching</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>_ivs</b> = int voice/video, ipip gw, tdmip gw (for ipvoice)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>_ivs</b> = int voice/video, ipip gw, tdmip gw aes (for adventerprise)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>k8 </b>= weak encryption (DES)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>k9 </b>= strong encryption (3DES)</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>o3 </b>= Firewall/IDS</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b><i>s3</i></b> = Basic limited routing/memory for 2600 & 3600 series</div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>i</b> = IP Routing version</div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b>Memory Location & Compression Format…<o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>f </b>= The image runs from Flash memory<b><o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>m</b><i> </i>= The image runs from RAM<b><o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>r </b>= The image runs from ROM<b><o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>l </b>= The image runs relocatable<b><o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>z</b> = The image is zip compressed<b><o:p></o:p></b></div><div class="MsoNoSpacing" style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: "Symbol","sans-serif";">·<span style="font: 7pt "Times New Roman";"> </span></span><b>x </b>= The image is mzip compressed<b><o:p></o:p></b></div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b><span style="font-size: 12pt;">Deployment Versions…<o:p></o:p></span></b></div><div class="MsoNoSpacing"><b>ED</b> = Early Deployment (Offers new feature, platform, or interface support)</div><div class="MsoNoSpacing"><b>MD</b> = Maintenance Deployment </div><div class="MsoNoSpacing"><b>LD</b> = Limited Deployment (period between first shipment and GD)</div><div class="MsoNoSpacing"><b>GD</b> = General Deployment (Suitable for deployment anywhere in customer networks)</div><div class="MsoNoSpacing"><b>DF</b> = Deferred (known defects, not avail for download, should not be loaded on your router)</div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing"><b><i><span style="font-size: 12pt;">A.B(C)D…<o:p></o:p></span></i></b></div><div class="MsoNoSpacing"><b>A.B</b> = the major release i.e. 12.3 or 12.4</div><div class="MsoNoSpacing"><b>(C)</b> = the maintenance version, higher number means more bug fixes, any bug fix from a previous version is included in the next version</div><div class="MsoNoSpacing"><b>D</b> = if present means it’s not a major release but an extension of one. Usually provide new features and hardware support.</div><div class="MsoNoSpacing"><br />
</div><div class="MsoNoSpacing">Another good sources:</div><div class="MsoNoSpacing"><a href="http://packetlife.net/media/library/21/Cisco_IOS_Versions.pdf">http://packetlife.net/media/library/21/Cisco_IOS_Versions.pdf</a><br />
<a href="http://www.cisco.com/en/US/prod/collateral/iosswrel/ps8802/ps5460/prod_bulletin0900aecd80281b17.html">Cisco IOS Packaging Product Bulletin </a><br />
<a href="http://www.cisco.com/warp/public/620/1.html">White Paper: Cisco IOS Reference Guide</a><br />
<br />
<a href="http://www.bdsltd.co.uk/network/cisco/naming.htm">http://www.bdsltd.co.uk/network/cisco/naming.htm</a><br />
<a href="http://www.cisco.com/web/about/security/intelligence/ios-ref.html">http://www.cisco.com/web/about/security/intelligence/ios-ref.html</a><br />
<a href="http://networking-newbie.blogspot.com/2008/10/cisco-ios-naming-convention-and.html">http://networking-newbie.blogspot.com/2008/10/cisco-ios-naming-convention-and.html</a><br />
<a href="http://articles.techrepublic.com.com/5100-10878_11-6078554.html">http://articles.techrepublic.com.com/5100-10878_11-6078554.html</a><br />
<br />
<a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a0080101cda.shtml">http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a0080101cda.shtml</a><br />
<a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a00800b6e23.shtml?referring_site=bodynav">http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a00800b6e23.shtml?referring_site=bodynav</a><br />
<br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-48007157622673313802009-11-08T04:29:00.000-08:002009-11-08T04:31:17.455-08:00How to Enable or Disable Quick Launch in Windows 7By default Quick Launch is disabled in Windows 7. This will show you how to enable or disable Quick Launch on the taskbar in Windows 7 as a toolbar with small or large icons.<br />
<br />
Quick Launch is used to open a program quickly from a shortcut on the taskbar. In this case in a toolbar The Quick Launch folder is located at the hidden system folder location (step 2) of:<br />
<br />
<strong>C:\Users\(user-name)\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch</strong><br />
<a name='more'></a><br />
<span style="color: blue; font-size: large;"><strong>Add Quick Launch</strong></span><br />
1. Right click on a empty space on the taskbar and click on New Tool. (See screenshot below)<br />
<br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/2046d1230926867t-quick-launch-enable-disable-right_click_taskbar.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/2046d1230926867t-quick-launch-enable-disable-right_click_taskbar.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2. In the Folder line, type or copy: (See screenshot below) <br />
<br />
<strong>%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch</strong><br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/2047d1233096741t-quick-launch-enable-disable-select_folder.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/2047d1233096741t-quick-launch-enable-disable-select_folder.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
3. Click on the Select Folder button. (See screenshot above)<br />
<br />
<br />
4. You now have a Quick Launch toolbar on the taskbar. (See screenshot below) <br />
<br />
NOTE: <em>Click on the arrow to see your Quick Launch shortcuts.</em><br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/2048d1230926893t-quick-launch-enable-disable-quick_launch_toolbar.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/2048d1230926893t-quick-launch-enable-disable-quick_launch_toolbar.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<strong>5. To Expand the Quick Launch Toolbar -</strong><br />
<strong>A)</strong> Unlock the taskbar.<br />
<br />
<strong>B)</strong> Left click on the dotted lines and hold, then drag it to the left or right to adjust to unhide all of the icons. Release the left click when done. (See screenshot below)<br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/4734d1234757593t-quick-launch-enable-disable-right_click_toolbar.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/4734d1234757593t-quick-launch-enable-disable-right_click_toolbar.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<strong>C)</strong> Lock the taskbar.<br />
<br />
<strong>6. To Remove Quick Launch Toolbar Icon Text or Title -</strong><br />
<strong>A)</strong> Unlock the taskbar.<br />
<br />
<strong>B)</strong> Right click on the Quick Launch toolbar title name, then uncheck the Show Text and Show Title by clicking on them. (See screenshot below step 5B)<br />
<strong>C)</strong> Lock the taskbar.<br />
<br />
<strong>7. To Have Small or Large Icons for Quick Launch Toolbar -</strong><br />
<br />
<strong>A)</strong> Unlock the taskbar.<br />
<strong>B)</strong> Right click on the Quick Launch toolbar title name, then click on View and select to have Large Icons or Small Icons. (See screenshot below step <strong>5B</strong>)<br />
<strong>C)</strong> Lock the taskbar.<br />
<br />
<strong>8. To Have Quick Launch Toolbar on Left Side of Taskbar -</strong><br />
<br />
A) Unlock the taskbar.<br />
B) Left click on the dotted lines of the pinned taskbar programs of the left side and hold, then drag it to the right past the Quick Launch toolbar and release. <br />
C) The Quick Launch toolbar is now on the left side of the taskbar. <br />
D) Left click on the dotted lines of these and hold and drag them to make any adjustments to how you want them place on the taskbar. <br />
E) Lock the taskbar.<br />
<br />
<strong>9. Now that you have Quick Launch on the taskbar</strong>, you will need to save your current theme (step 4 at this link).<br />
<br />
<br />
NOTE: If you make any changes to your theme, you will need to save the theme afterwards, or you will lose Quick Launch the next time you restart the computer.<br />
<br />
<strong><span style="color: blue; font-size: large;">Remove Quick Launch</span></strong><br />
1. Right click on a empty space on the taskbar and click on Toolbars and Quick Launch to uncheck and remove it from the taskbar. (See screenshot below)<br />
<br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/2049d1230926904t-quick-launch-enable-disable-remove.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/2049d1230926904t-quick-launch-enable-disable-remove.jpg" /></a><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-44867982465502671952009-11-08T04:15:00.000-08:002009-11-08T04:32:04.068-08:00Windows Explorer Taskbar Icon - Change Open To Target1. Right click on the pinned Windows Explorer taskbar icon, then right click on Windows Explorer in the Jump List and click on Properties. (See screenshot below)<br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/3585d1234495867t-windows-explorer-taskbar-icon-change-open-target-unpin.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/3585d1234495867t-windows-explorer-taskbar-icon-change-open-target-unpin.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<a name='more'></a>2.In the Shortcut tab and to the right of Target, type or copy the location in bold below you want the Windows Explorer icon to open to instead, then click on OK. (See screenshot below)<br />
<br />
<br />
NOTE: You can do this for any item that you know it's {CLSID} registry entry for. You can also specify a specific folder e.g. : %windir%\explorer.exe /n, /e, /select, C:\somefolder <br />
<div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"><a href="http://www.sevenforums.com/attachments/tutorials/4605d1237053007t-windows-explorer-taskbar-icon-change-open-target-target_properties.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" sr="true" src="http://www.sevenforums.com/attachments/tutorials/4605d1237053007t-windows-explorer-taskbar-icon-change-open-target-target_properties.jpg" /></a><br />
</div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<blockquote>Using the Explorer.exe Command Line Syntax/:<br />
<br />
<br />
%windir%\explorer.exe [/n][/e][,/root],X,[[/Select],Y]<br />
<br />
X specifies the object, and optionally with sub-object Y. The /e switch showes the left Windows Explorer tree view navigation pane together with the right pane in list view, while /n hides the left navigation pane. When the /root parameter is present, Explorer.exe will explore the root object X and objects belonging to X. On the other hand, when the /root switch is not present, Explorer.exe explores the object X, its children, and other Explorer objects as well. The /Select switch puts the focus on a file or folder.<br />
<br />
For example:<br />
<br />
%windir%\explorer.exe /N,%WinDir%\System32,/Select,%WinDir%\system32\calc.exe<br />
<br />
The command above will explore the C:\Windows\System32 folder and put the focus on the calc.exe (calculator) program.<br />
</blockquote><strong>Windows Explorer (default)</strong><br />
<br />
<br />
%windir%\explorer.exe <br />
<br />
<strong>Computer</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D} <br />
<br />
<strong>Documents</strong><br />
<br />
%windir%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103} <br />
<br />
<strong>Documents Library</strong><br />
<br />
%UserProfile%\AppData\Roaming\Microsoft\Windows\Libraries\Documents.library-ms <br />
<br />
<strong>Recycle Bin</strong><br />
<br />
%windir%\explorer.exe /n,::{645FF040-5081-101B-9F08-00AA002F954E} <br />
<br />
<strong>Network Neighborhood</strong><br />
<br />
%windir%\explorer.exe /n,::{208D2C60-3AEA-1069-A2D7-08002B30309D} <br />
<br />
<strong>Default Web Browser (ex: Internet Explorer)</strong><br />
<br />
%windir%\explorer.exe /n,::{871C5380-42A0-1069-A2EA-08002B30309D} <br />
<br />
<strong>Computer Search Results Folder</strong><br />
<br />
%windir%\explorer.exe /n,::{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA} <br />
<br />
<strong>Network Search Results Folder</strong><br />
<br />
%windir%\explorer.exe /n,::{E17D4FC0-5564-11D1-83F2-00A0C90DC849} <br />
<br />
<strong>Web Folders</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{BDEADF00-C265-11D0-BCED-00A0C90AB50F} <br />
<br />
<strong>Control Panel</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D} <br />
<br />
<strong>Printers and Faxes</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D} <br />
<br />
<strong>Scanners and Cameras</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{E211B736-43FD-11D1-9EFB-0000F8757FCD} <br />
<br />
<strong>Fonts</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152} <br />
<br />
Network Connections or My Network Place<br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E} <br />
<br />
<strong>Administrative Tools</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524153} <br />
<br />
<strong>Tasks Scheduler</strong><br />
<br />
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF} <br />
<br />
<strong>User Personal Folder</strong><br />
<br />
%windir%\explorer.exe shell:Profile<br />
<div style="text-align: right;"><a href="http://www.blogger.com/goog_1257682562939"><span style="color: black;">Or</span></a><a href="http://www.blogger.com/goog_1257682562939"></a><a href="http://www.sevenforums.com/tutorials/2863-windows-explorer-taskbar-icon-change-open-target.html"><span style="color: black;">iginal</span></a><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-43558148473204204652009-10-25T21:56:00.000-07:002010-09-19T01:13:19.502-07:00Setting UP VNC<b>What is VNC?</b> <br />
VNC stands for Virtual Network Computing. It is remote control software which allows you to view and interact with one computer (the "server") using a simple program (the "viewer") on another computer anywhere on the Internet. The two computers don't even have to be the same type, so for example you can use VNC to view an office Linux machine on your Windows PC at home. VNC is freely and publicly available and is in widespread active use by millions throughout industry, academia and privately. <br />
For more information, please visit <a href="http://www.realvnc.com/">http://www.realvnc.com/</a> <br />
<b>Do I have it in my system?</b> <br />
Type following command to check if you have the client and server installed in your system. <br />
<blockquote><pre>[tchung@tchung101 tchung]$ rpm -q vnc vnc-server
vnc-4.0-0.beta4.3.2
vnc-server-4.0-0.beta4.3.2
[tchung@tchung101 tchung]$
</pre></blockquote><a name='more'></a><br />
To configure vncserver as a service on your system, add yourself in following config file. <br />
<blockquote><pre>[tchung@tchung101 tchung]$ sudo vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# URL:http://www.uk.research.att.com/vnc/sshvnc.html
# VNCSERVERS="1:myusername"
<span style="color: red;">VNCSERVERS="1:tchung"</span></pre></blockquote><pre></pre><pre></pre><pre></pre>Before starting vncserver as a service, let's create a vnc password with <b>vncpasswd</b> command.<br />
Notice it creates a hidden directory <b>.vnc</b> under your home account with file <b>passwd</b> which contains your vnc password. <br />
<blockquote><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ vncpasswd Password: Verify: </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ ls -d .vnc </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">.vnc </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ ls .vnc </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">passwd </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ </span></div></blockquote>Now let's start vncserver as a service. <br />
<blockquote><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ sudo /sbin/service vncserver start </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">Starting VNC server: 1:tchung [ OK ] </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ </span></div></blockquote>Take a look at the contents of .vnc directory now. You should have something similiar to following. <br />
<blockquote><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 tchung]$ cd .vnc </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 .vnc]$ ls </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">passwd tchung101:1.log tchung101:1.pid xstartup </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[tchung@tchung101 .vnc]$</span></div></blockquote> If you edit the script called <b>xstartup</b>, you will notice following comment in red.<b>Uncomment</b> those two lines in <span style="color: red;">red</span> as shown below!!! Otherwise, you will get nothing but grey screen. <span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"> </span></span><br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"> <span style="font-size: small;">#!/bin/sh </span></span></span><br />
<blockquote><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;"> # Uncomment the following two lines for normal desktop: </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;"><br />
</span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="color: red; font-size: small;"> unset SESSION_MANAGER </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="color: red; font-size: small;">exec /etc/X11/xinit/xinitrc </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;"><br />
</span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">xsetroot -solid grey </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">vncconfig -iconic & </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & </span></div><div style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">twm & </span></div></blockquote><pre></pre><br />
Since we've just edited vnc startup script, let's restart the vncserver. <br />
<blockquote><pre>[tchung@tchung101 tchung]$ sudo /sbin/service vncserver restart
Shutting down VNC server: 1:tchung [ OK ]
Starting VNC server: 1:tchung [ OK ]
[tchung@tchung101 tchung]$
</pre></blockquote>So how do I connect to vncserver? Use <b>vncviewer</b> command in vnc client as following. <br />
<blockquote><pre>[tchung@tchung101 tchung]$ vncviewer localhost:1
</pre><img src="http://fedoranews.org/tchung/vnc/vnc-authentication.png" /> </blockquote>Enter your vnc password. Now You should successfully login and see desktop. <br />
<hr /><span style="color: red;">UPDATE:</span><br />
To connect to a remote system with firewall, port <b>5901</b> needs to be open.<br />
Add following line in red to open port 5901 and restart iptables service. <br />
<blockquote><pre>[tchung@tchung101 tchung]$ sudo vi /etc/sysconfig/iptables
# Firewall configuration written by redhat-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
<span style="color: red;">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT</span>
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
[tchung@tchung101 tchung]$ sudo /sbin/service iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]
[tchung@tchung101 tchung]$
</pre></blockquote><hr /><span style="color: red;">TIP</span> by <a href="mailto:forrestx.taylor.AT.intel.com">Forrest Taylor</a> <br />
To enable two different users in vncservers and run their sessions simultaneously, you have to do things like this: <br />
<blockquote><pre>VNCSERVERS="1:xxxxxx 2:yyyyyyy"
</pre></blockquote>"VNCSERVERS=" lines get combined, the "VNCSERVERARGS[ ]=" lines remain separate.<br />
<blockquote> VNCSERVERS="1:xxx 2:yyy 3:zzz"<br />
<br />
VNCSERVERARGS[1]="-geometry 1024x768 -depth 24"<br />
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"<br />
VNCSERVERARGS[3]="-geometry 1100x1100 -depth 24"</blockquote>You will, of course have to run vncpasswd for both users. Also in your firewall update, you may want to clarify that VNC uses port 5901 for connection 1. If you had both users above, you would have to have ports 5901 and 5902 open.<br />
<div style="text-align: right;"><a href="http://fedoranews.org/tchung/vnc/">Original: </a></div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-89191425920908662572009-10-25T07:39:00.000-07:002009-10-25T07:39:00.904-07:00Meaning of "> /dev/null 2>&1"You need to understand the theory first and then its upto you how and where you want to apply that theory. I'll try to explain above to you.<br />
<br />
The greater-than (>) in commands like these redirect the program’s output somewhere. In this case, something is being redirected into /dev/null, and something is being redirected into &1.<br />
<br />
<b>Standard in, out and error:</b><br />
<br />
There are three standard sources of input and output for a program. Standard input usually comes from the keyboard if it’s an interactive program, or from another program if it’s processing the other program’s output. The program usually prints to standard output, and sometimes prints to standard error. These three file descriptors (you can think of them as “data pipes”) are often called STDIN, STDOUT, and STDERR.<br />
<br />
Sometimes they’re not named, they’re numbered! The built-in numberings for them are 0, 1, and 2, in that order. By default, if you don’t name or number one explicitly, you’re talking about STDOUT.<br />
<br />
That means file descriptor 0 or fd0 denotes STDIN or standard input and file descriptor 1 or fd1 denotes STDOUT or standard output and file descriptor 2 or fd2 denotes STDERR or standard error.<br />
<br />
You can see the command above is redirecting standard output into /dev/null, which is a place you can dump anything you don’t want (often called the bit-bucket), then redirecting standard error into standard output (you have to put an & in front of the destination when you do this).<br />
<br />
The short explanation, therefore, is “all output from this command should be shoved into a black hole.” That’s one good way to make a program be really quiet!<br />
<br />
<div style="text-align: right;"><a href="http://www.unix.com/shell-programming-scripting/34011-meaning-dev-null-2-1-a.html#post302100938">Original</a><br />
</div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-54933316043595203582009-10-20T05:50:00.000-07:002009-10-20T05:55:48.986-07:00Manage Network Interfaces in Linux<b>Show info:</b><br />
<blockquote>ifconfig<br />
ifconfig -a <i>or</i> -v<br />
ifconfig eth1<br />
</blockquote><b>Disable/Enable interface:</b><br />
<blockquote>ifconfig eth1<b> </b>down <i>or</i> up<br />
ifdown eth1<br />
ifup eth1<b><br />
</b><br />
</blockquote><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-60129811880110175852009-10-19T10:08:00.000-07:002009-10-19T10:08:04.059-07:00YouTube Hidden features<a href="http://www.youtube.com/watch?v=JBkrDjCEz_U">YouTube hidden features</a><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-63619181803404556402009-10-18T10:51:00.000-07:002009-11-08T04:30:29.185-08:00Setup VPN Server/Client in Windows 7<b>Following are the steps for configuring Incoming VPN Connection in Windows 7</b><br />
<br />
<ol style="list-style-type: decimal;"><li>First go to Control Panel and open Network and Sharing Center.<br />
</li>
<li>Click on Change adapter settings.<br />
</li>
<li>Press Alt+F and select New Incoming connection<br />
</li>
<li>Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone,after that click on Next.<br />
</li>
<li>Put a check mark on Through the Internet. Click on Next.<br />
</li>
<li>Select the protocols you want to enable for this connection. Click on Allow access.<br />
</li>
<li>Make a note of the Computer name as this will be used by the client to connect to this computer and after that Click on Close.</li>
</ol><br />
<b>Following are the steps for configuring Outgoing VPN Connection in Windows 7</b><br />
<br />
<ol style="list-style-type: decimal;"><li>First go to Control Panel and open Network and Sharing Center.<br />
</li>
<li>Click on Set up a new connection or network.<br />
</li>
<li>Select Connect to a workplace then click on Next.<br />
</li>
<li>Select Use my internet connection (VPN).<br />
</li>
<li>Type the IP address or computer name where you wish to connect and your connection name under the Destination name field.<br />
</li>
<li>Enter a User name and password that has been granted access to the host computer.<br />
</li>
<li>For getting connected through created VPN connection, you can either right-click on the Network icon in the system tray and select Network and Sharing Center or go to Control Panel and open Network and Sharing Center, and click on Connect to a network.<br />
</li>
<li>Now connect VPN Connection windows will appears.</li>
</ol><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-54860265966528355812009-10-15T11:46:00.000-07:002009-10-15T11:48:06.211-07:00Intall not signed packeges with yum<div class="line" title="Click to select this command"> <div class="command">yum --nogpgcheck install "examplePackage"<br /><br /><div class="description"> <p>Same as:</p> <p>1 rpm -ivh package.rpm</p> <p>2 yum localinstall package.rpm</p> <p>3 Edit /etc/yum.conf or repository.repo and change the value of gpgcheck from 1 to 0 (!dangerous)</p> </div><br /></div> </div><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-61278409674160927182009-10-07T05:10:00.000-07:002010-01-24T10:00:25.947-08:00Add an Additional Disk Drive to Your Linux ComputerFirst of all check if your Linux can see new device:<blockquote>sudo fdisk -l<br />
</blockquote><b><big>Command and Response Dialog of Adding a New IDE Drive:<br />
<br />
</big></b>As root perform the following: (as highlighted in bold) <br />
<pre><blockquote>[root]# <b>fdisk /dev/hdb</b>
Command (m for help): <b>m</b> (Enter the letter "m" to get list of commands)
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
<a name='more'></a></blockquote><blockquote>Command (m for help): <b>n</b>
Command action
e extended
p primary partition (1-4)
<b>e</b>
Partition number (1-4): <b>1</b>
First cylinder (1-2654, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-2654, default 2654):
Using default value 2654
Command (m for help): <b>p</b>
Disk /dev/hdb: 240 heads, 63 sectors, 2654 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 2654 20064208+ 5 Extended
Command (m for help): <b>w</b> (Write and save partition table)
[root]# <b>mkfs -t ext3 /dev/hdb1</b> (mkfs.ext3 -c /dev/sdb1 -- same command as original)
(# mkfs.ext3 -c -L <span style="font-style: italic;">SomeName</span> /dev/sdb1 Add <span style="font-style: italic;">SomeName</span> label
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2508352 inodes, 5016052 blocks
250802 blocks (5.00%) reserved for the super user
First data block=0
154 block groups
32768 blocks per group, 32768 fragments per group
16288 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root]# <b>mkdir /opt2</b>
[root]# <b>mount -t ext3 /dev/hdb1 /opt2</b>
</blockquote><span style="font-size: 180%; font-weight: bold;">File: /etc/fstab</span>
Enter the drive into the fstab file so that it is recognized and mounted upon system boot
<blockquote>sudo vi /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
<b>/dev/hdb1 /opt2 ext3 defaults 1 2</b>
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
</blockquote><span style="font-size: small;"><span style="font-family: georgia;">If you want to verify the partition is successfully present and mounted,</span></span>
<span style="font-size: small;"><span style="font-family: georgia;">use the following commands:</span></span>
<blockquote># mount
and
# df -h
</blockquote>
</pre><div style="text-align: right;">Original: at <a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html">YoLinux</a><br />
Another basic tutorial at <a href="http://www.skullbox.net/newsda.php">SkullBox.Net</a><br />
</div><pre></pre><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-45815348337286877252009-10-05T11:18:00.000-07:002009-10-05T11:31:38.079-07:00RPMforge Repository for CentOSRPM packages for Red Hat, RHEL, CentOS and Fedora<br /><br />Installation for CentOS 5:<br /><br /><blockquote>i386<br />rpm -Uhv <a href="http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm">http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</a></blockquote><br /><br /><blockquote>x86_64<br />rpm -Uhv <a href="http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm">http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</a></blockquote><br /><br /><br />Original at <a href="http://dag.wieers.com/rpm/FAQ.php#B">dag.wieers.com</a><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-63099493755118985372009-10-05T11:09:00.000-07:002009-10-07T04:30:58.008-07:00Karan Repository for CentOS<span style="font-weight: bold;">Fedora Extras rebuild Repository</span><br />Download file : <a href="http://centos.karan.org/kbsingh-CentOS-Extras.repo">kbsingh-CentOS-Extras.repo</a> and save it in /etc/yum.repos.d/<br /><span style="font-weight: bold;"><br />Misc Packages rebuild Repository</span><br />Download file : <a href="http://centos.karan.org/kbsingh-CentOS-Misc.repo">kbsingh-CentOS-Misc.repo</a> and save it in /etc/yum.repos.d/<br /><br /><span style="font-weight: bold;">Apply GPG key</span><br />The GPG key used to sign packages in this repository can installed by running ( as root )<br /> <pre> rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt</pre><br />Original: <a href="http://centos.karan.org/">centos.karan.org</a><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-49029311409543086852009-10-05T02:53:00.000-07:002009-11-18T01:29:06.852-08:00If you can't execute commands without full pass to them :E.g. shutdown, reboot, mtr:<br />
Do next:<br />
Edit your .bash_profile<br />
<br />
<blockquote>$ vi .bash_profile<br />
</blockquote><br />
<br />
Change PATH line to this:<br />
<br />
<blockquote>PATH=$PATH:$HOME/sbin:/usr/sbin:/usr/local/sbin:/sbin:.<br />
</blockquote> There should be <i style="color: red;">export PATH</i> in the end of file <br />
<br />
To apply changes you have to do next thing:<br />
<blockquote>. .bash_profile<br />
</blockquote>Or try to logout and log back in.<br />
<br />
<i>.bash_profile</i> file example: <br />
<blockquote># .bash_profile<br />
<br />
# Get the aliases and functions<br />
if [ -f ~/.bashrc ]; then<br />
. ~/.bashrc<br />
fi<br />
<br />
# User specific environment and startup programs<br />
<br />
PATH=$PATH:$HOME/sbin:/usr/sbin:/usr/local/sbin:/sbin:.<br />
<br />
export PATH<br />
</blockquote><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.comtag:blogger.com,1999:blog-8952657210472372415.post-46307893822209643182009-10-05T02:20:00.000-07:002009-10-05T03:00:09.363-07:00mtr: unable to get raw socketsDo next as root:<br /><br /><span style="font-family:monospace;"></span><blockquote><span style="font-family:monospace;"># </span>chmod 4755 /usr/sbin/mtr</blockquote><div class="blogger-post-footer">Atom feed</div>Unknownnoreply@blogger.com