About admin

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Website:
admin has written 229 articles so far, you can find them below.


Changing your default search provider in Internet Explorer

So many times you want to change your default serach provider in Internet Explorer. To do that just click here. It will goes to microsoft’s website and choose your default service provider.

Content encoding error in bookmyshow.com

In some places bookmyshow.com gives you Content Encoding Error. I am using firefox 3.0.11, but still not able to open the site. To open the webpage you have to remove content encoding in firefox. Just follow the below steps:

1. Type about:config in your browser
2. in the search bar there search for “network.http.accept-encoding”
3. Right click on the key and select modify and remove the data and leave the value compress.

You done with the things just type www.bookmyshow.com in your firefox.

Remove Viruses without installing any virus-scanner

Think a situation where your computer is very badly affected with the virus and your virus-scanning software is not doing anything, what you will do in such situation?

Engineers format their Windows in such situation. But there is another way also. Just download a superdat file from McAfee website. You have to extract the content of the dat file then run the executable files in command prompt.

Just go to Direct link

Create a new folder in c:
Rename it to scan
Place the SuperDat file into c:\scan folder
Click on Start > Run > cmd
Press enter it will open command prompt

Type there following command:

cd c:\scan
sdatXXX.exe /E

wait for a 2 minutes then run the following command

scan /ADL /ALL /SUB /CLEAN /REPORT C:\scan\virus.txt

This command will scan all drives and subdirectories and clean the infected file and also generate the report and save it in virus.txt file.

P.S. The SuperDat file generated on each day, so please download it on the day of virus scanning.
For better result do this procedure in Windows safe mode.

Basic Linux Commands

Following are the useful linux commands:
FILE COMMANDS
  • ls – directory listing
  • ls -al - formatted listing with hidden files
  • cd dir – change directory to dir
  • cd – change to home
  • pwd – show current directory
  • mkdir dir – create a directory dir
  • rm file – delete file
  • rm -r dir – delete directory dir
  • rm -f file – force remove file
  • rm -rf dir – force remove directory dir *
  • cp file1 file2 – copy file1 to file2
  • cp -r dir1 dir2 – copy dir1 to dir2; create dir2 if it doesn’t exit
  • mv file1 file2 - rename or move file1 to file2 if file2 is an existing directory, move file1 into directory file2
  • ln -s file link – create symbolic link link to file
  • touch file – create or update file
  • cat > file – places standard input into file
  • more file – output the contents of file
  • head file – output the first 10 lines of file
  • tail file – output the last 10 lines of file
  • tail -f file – output the contents of file as it grows, starting with the last 10 lines
SEARCHING
  • grep pattern files – search for pattern in files
  • grep -r pattern dir – search recursively for pattern in dir
  • command | grep pattern – search for pattern in the output of command
  • locate file – find all instances of file
PROCESS MANAGEMENT
  • ps – display your currently active proceess
  • top – display all running process
  • kill pid – kill process id pid
  • killall proc – kill all process named proc (use with extreme caution)
  • bg – lists stopped or backgrpund jobs; resume a stopped job in the backgrpund
  • fg – brings the most recent job to foreground
  • fg n – brings job n to the foreground
SYSTEM INFO
  • date - show the current date and time
  • cal – show this month’s calender
  • uptime – show current uptime
  • w – display who is online
  • whoami – who you are logged in as
  • finger user – display information about user
  • uname -a – show kernel information
  • cat /proc/cpuinfo – cpu information
  • cat /proc/meminfo – memory information
  • man command – show the manual for command
  • df - show disk usage
  • du – show directory space usage
  • free – show memory and swap usage
  • whereis app – show possible location of app
  • which app – show which app will be run by default
COMPRESSION
  • tar cf file.tar files - create a tar named file.tar containing files
  • tar xf files.tar – extract the files from file.tar
  • tar czf file.tar.gz files – create a tar with Gzip compression
  • tar xzf file.tar.gz – extract a tar using Gzip
  • tar cjf file.tar.bz2 – create a tar with Bzip2 compression
  • tar xjf file.tar.bz2 – extract a tar using Bzip2
  • gzip file – compress file and renamed it to file.gz
  • gzip -d file.gz – decompress file.gz back to file
NETWORK
  • ping host – ping host and output result
  • whois domain – get whois information for domain
  • dig domain – get DNS information for domain
  • dig -x host – reverse lookup host
  • wget file – download file
  • wget -c file – continue a stopped download

Password Protecting USB Pen Drive

One of my user needs to create a password protected folder in its pen drive. This is very simple but one more special requirement he asked for, if he insert that pen drive in any another pc he can able to see that folder over there without any software installation. This is quite tricky requirement. I found a tool for it i.e. Rohos Mini Drive. It’s a freeware with some limitations.

Rohos Mini Drive creates hidden and encrypted partition on the USB flash drive memory. You work with the files on the hidden partition without opening a special program. Those who have megabytes of sensitive files on the USB drive and seriously concerned with a data security, cannot imagine their USB stick without the hidden volume that is created using this tool.

Download the program from here. Install it and run it.

After installation the Rohos Mini Drive, insert your USB pen drive to the computer and run the Rohos Mini Drive application. Click on Setup USB Key

Insert a password.

It will create a partition namely K: with 297mb space. You can customize the partition size by clicking Change button.

Just you have to add file in this newly created partition, when you done just eject that partion as well as the pen drive.
For testing purpose you can insert this pen drive to any another PC. There it will show you one roho_mini_pendrive icon. Double click it and insert your password that’s it now you can access your password protected partition on that computer.
Source

Page 43 of 46« First...203040«414243444546»
rss twitter facbook

Categories

Archives