zbeng Posted May 28, 2006 Report Posted May 28, 2006 Registry Display a banner each time Windows bootsStart -> RunType regeditGo to the key HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWinLogonCreate a new string value in the right pane named LegalNoticeCaption and enter the value that you want to see in the menubarCreate a new string value and name it LegalNoticeText. Modify it and insert the message you want to display each time Windows boots.WindowsShutting down Windows the fastest wayStart -> RunType rundll.exe user.exe,exitwindowsInternet ExplorerYour browser logo shows something other than the IE logo. Maybe you have installed your ISP software and you have a different logo on the top right. How do you remove it?Close all browser windowsStart -> RunType RunDLL32.EXE IEdkcs32.dll,ClearClick on OK, and start Internet Explorer. You should find the old spinning IE logo. LinuxGeneral CommandsHow to write a boot image from your hard disk to a floppyPut a blank floppy into the drive, go to the boot image directory and typedd if=boot.img of=/dev/fd0How to copy the boot image from your hard disk to a floppyPut the boot floppy into the drive and typedd if=/dev/fd0 of=floppy.imgHow to search for a file arul.jpg recursively in your Unix accountfind ~/ -name "arul.jpg"How to display all the processes running on the hostps -afHow to check the current quota and tell how much you have usedquotaHow to check disk space in a directory (say /usr)du -s -H /usrHow to report size (in kBytes) of all enclosed directories (recursive)du -kHow to report size (in kBytes) of all enclosed directories (non-recursive)du -ms *How to list login IDs of users currently logged in to the systemusersHow to change the permanent information kept by the system about your logon IDchfnAdministrator commandsaccess a windows (only FAT or FAT32) partition (say hda2) under linuxmount -t vfat /dev/hda2 /winallow root user and other users(where user id=500) to get rw permission for that windows partitionmount -t vfat -o uid=500 /dev/hda2 /winlist all device files corresponding to hdafdisk -l /dev/hdatrack down symbolic links, for example, to see where xterm points tonamei /usr/X11/bin/xtermprint Linux version informationuname -rmeasure hard disk speedhdparm -tT /dev/hdaprint hardware summarymore /proc/cpuinfocheck inode usage of all mounted partitionsdf -imonitoring the system for the growth of a filetail -f /var/log/messagesRPM commandsinstall an rpm package (foo-1.0-2.i386.rpm)rpm -ivh foo-1.0-2.i386.rpmuninstall an rpm package (foo-1.0-2.i386.rpm)rpm -e fooupgrade an rpm package (foo-1.0-2.i386.rpm)rpm -Uvh foo-1.0-2.i386.rpmquery the rpm package (foo-1.0-2.i386.rpm)rpm -q foodisplay all the installed rpm packagesrpm -qadisplay all the installed rpm packages having string "yahoo"rpm -qa | grep -i "yahoo"query the rpm package owning file, say lsrpm -qf /bin/lsdisplay the rpm package information (foo-1.0-2.i386.rpm)rpm -qi fooquery a specific rpm package (whether installed or not)rpm -qp foo.barcheck an rpm signature package (foo-1.0-2.i386.rpm)rpm --checksig fooSwitching from Lilo to Windows boot loaderLogin as root by entering:suThen edit /etc/lilo.conf by entering:emacs /etc/lilo.confIf you use any other editor, use it instead of emacs.Insert the linedefault=windowsFirst make sure you have the following lines in your lilo.confother = /dev/hda1label = windowsAfter that, effect the changes by entering:liloEssential emacs commandsFILE AND BUFFERS C-x C-f Find or Create file C-x C-s Save file C-x C-w Write to new filename (it prompts you) C-x C-b Lists buffers C-x C-c Quit emacsCOMMAND RELATED ESC ESC ESC Cancelling whatever I am doing C-g Abort command (like Ctrl C) C-_ or C-x u Undo/Redo (toggles) C-z Suspend (to return, type %emacs) A-x Run any commandCUTTING COPYING AND PASTING C-k Cut text from cursor to end of line C-y Paste text C-space Mark the start for the block C-w Mark the end of the block and CUT it A-w Mark the end of the block and COPY itFIND REPLACE a STRING A-x replace-string ENTER String replace from cursor to end of buffer A-x query-replace ENTER String replace with querying A-% Search and replace (press y when prompted) A-x grep ENTER Perform a 'grep' searchSCROLLING AND WINDOWS C-x 1 One window on current buffer C-x 2 Split window horizontally C-x 3 Split window vertically C-x o Shift between windows C-x 0 Close current window C-v Go forward one screen A-v Go backward one screenCURSOR MOVEMENT A-v Beginning of buffer C-v End of buffer C-a Beginning of line C-e End of line A-f Forward one word A-b Back one wordMORE A-x what-line ENTER Display current line number A-< C-u 20 C-n Go to line number 20FTP (file transfer protocol)This is mostly used to copy files between computers. It doesn't support compression. It is also not encrypted. This is how to transfer files.To connect to foo.comftp foo.comYou will have to enter your username and password when prompted.If the file being transferred is a binary file (yes, PDF and PS are binary files), type the following.binaryTo upload your file wolf.pdf to the directory in foo.comcd /home/arul/backupput wolf.pdfTo download the file arul.ps from the directory in foo.comget arul.psIf you have multiple files, use mget instead of get and mput instead of put.To quit, type bye. This is just the basic file transfer using http://FTP. To check all the options using FTP, type man ftp from your shell prompt.by mc1 Quote
mc1 Posted May 29, 2006 Report Posted May 29, 2006 asta ai dat copypaste la ce-am postat eu pe gay.com=)) :@ pathetic Quote
zbeng Posted May 29, 2006 Author Report Posted May 29, 2006 si cine a zis cai tutorial facut de mine:)))))) Quote
mc1 Posted May 29, 2006 Report Posted May 29, 2006 Trebuia macar sa pui ji tu la sfr un "by mc1":))doesnt matterbtw eu nu am scris gay.com ci......nvm!!!!! (nu stergi postul va rog) :? Quote