Showing posts with label Prompt. Show all posts
Showing posts with label Prompt. Show all posts

Wednesday, 14 November 2012

How To Hide & UNHIDE Hard disk Volumes By CMD Command




How To Hide and unhide the hard disk Volumes using CMD Commands :

    First check how many drives are there in my computer and then see which drive holds your secret files.Then make the drive to invisible by following the below steps of using cmd commands,

    start->run->cmd->DISKPART
    DISKPART>list volume (it list available partition volumes)
    select the volume by SELECT VOLUME 1or 2 ..
     Hide the selected volume by REMOVE LETTER C or D or... command.

Note :For Unhide the hidden drive use the command ASSIGN LETTER after selecting the hidden drive.


Now to unhide the partition:
Go to an elevated command prompt=run cmd.exe as administrator

Enter following commands:

DISKPART --- run the diskpart program
LIST DISK ---- list the disks in system
SELECT DISK n ----n is number of disk with hidden volume
DETAIL DISK ----- to make sure you got the right one
LIST VOLUME ------lists the volumes in the system
SELECT VOLUME n ----n is the number of the hidden volume
DETAIL VOLUME ---- to make sure you got the right one
ATTRIBUTES VOLUME CLEAR HIDDEN ---clear the hidden attribute
EXIT --- exit from DiskPart
EXIT --- exit from command shell

Later if you want to hide the volume again then the command is:
ATTRIBUTES VOLUME SET HIDDEN

This is another posting showing "how to do computing" for everyday computer usages... For a general public



Monday, 12 November 2012

How to format USB drive using Linux terminal ..

How to format USB with Linux terminal ..  

[ Formatting a USB in Ubuntu or linux is as easy as make filesystem (mkfs).
mkfs and tab will show you all the filesystem types you can use:

[anc@localhost~]$ mkfs
mkfs mkfs.ext3 mkfs.jfs mkfs.ntfs mkfs.vfat
mkfs.cramfs mkfs.ext4 mkfs.minix mkfs.reiserfs mkfs.xfs
mkfs.ext2 mkfs.ext4dev mkfs.msdos mkfs.udffs


To format a USB drive all you need to know is its name, this can be found by
typing df at a terminal:

[anc@localhost~]$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
--snip
/dev/sdc1 ext3 3.6G 3.3G 134M 97% /media/disk



In the above example my USB is sdc1 and is a 4G USB stick. As you can see
I changed it from NTFS to ext3.

FAT32 and NTFS are weak filesystems, not only are they prone to losing data but also
require constant defragging. Most linux filesystems (except ext2) are journalled. Thye never require defragging and have better security- the disadvantage is that if you format a USB memory stick as ext3 it cant be read under windows.

To answer your earlier question,

mkfs.vfat /dev/sdc1
mkfs.ntfs /dev/sdc1


would make FAT32 and NTFS filesystems on a memory stick called sdc1

Hope that helps. ]


[ This is another posting showing "how to do computing" for everyday computer usages... For a general public ]

Friday, 12 October 2012

md5sum.exe introduction


After you download all the Shorten (.shn) files for a particular disc or show, you want to verify that the files are not corrupted or otherwise unusable before you burn them to disc or host them on your file server. We do this by checking the downloaded Shorten (.shn) files against an .md5 file. An .md5 is a simple text file that contains a "fingerprint" of each Shorten file.


When you perform an md5 check, you are comparing the fingerprint from the files you downloaded to the fingerprint of the files on the server you downloaded from. If the md5's (fingerprints) match, you have an uncorrupted Shorten file.



 md5sum.exe - 48KB         88170 Downloads since 9/29/00



  • Windows 95/98/Me: Download md5sum.exe to c:\windows\command

  • Windows NT/2000: Download md5sum.exe to your c:\winnt\system32
  •  

    Open an MS-DOS window and go to the directory of the show you want to check. When you are in that directory, type:
    md5sum -c [filename].md5
     
    You must insert the name of the .md5 file [without the brackets]. Below is an example of a successful md5sum check:
     
     
    On the other hand, if a track does not pass the md5check, you will see the following:
    If any Shorten files do not pass the .md5 check, you should delete the offending file(s), and try re-downloading. Then run the .md5 check again. The file(s) should now pass the .md5 check.

    If the same files fail an .md5 check more than twice, you should contact the FTP Siteop you downloaded the files from and let them know what tracks are giving you a problem. They may be hosting a corrupted track without knowing it.

    Open an MS-DOS window and go to the directory of the show you want to create an .md5 file for. When you are in that directory, type:

    md5sum *.shn > [filename].md5
     
    NOTE: You must insert the name of the .md5 file [without the brackets]. Example:
     
    md5sum *.shn > ph94-06-26d1.md5

    An .md5 file will be created and placed in that directory. Please remember to adhere the etree.org naming scheme when naming .md5 files!

    Please remember to always .md5 check your Shorten files before burning!
      

    Special thanks to bruce@gridpoint.com and the PCP community for compiling this special version of md5sum. Documentation and graphics by Mike Wren.


     

    Thursday, 16 August 2012

    HTML from Scratch ! Learn how to !!

    Here a Good Video teaching some pretty basic stuff about HTML and XHTML .. Obs: The video is not mine, I found on youtube, but still very Good.. So, if you fill like just leave a comment !! Cheers

    Thursday, 7 June 2012

    How to use FTP with Command Line (Command Prompt)

    How to use FTP from the command line. 


     FTP (File Transfer Protocol) allows you to transfer files between your PC and other Internet systems (hosts). You can transfer files, work with local or remote directories, rename and display files, and execute system commands.

    Before you start, you must know how to log on to the remote system and have a userid and password on that system. Note: Some systems allow anonymous ftp access. To use anonymous ftp, use anonymous as your userid and your e-mail address as the logon password. Logging Onto and Off of a Remote System To begin using Microsoft's FTP client, Open a command prompt and switch to the destination directory (where you want the download file).

    To start an FTP session, enter: ftp host_name where hostname is the name or IP address of the remote system. You will then be asked to enter your userid and password.

    Once you have successfully logged onto a remote system, you will be able to use ftp commands to view a listing of files on the remote system and transfer files between the two systems.


    Example: Download i386.exe (Windows NT 3.5 Resource Kit) from ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386 to C:\Temp\Download
    1. Open a command prompt. Enter CD C:\Temp\Download (assuming that directory exists).
      Enter: ftp ftp.microsoft.com

      You should now see a prompt similar to this:
      Connected to ftp.microsoft.com.
      220 Microsoft FTP Service
      User (ftp.microsoft.com:(none)):


    2. For the userid, Enter: anonymous

      You should see a prompt similar to this:
      331 Anonymous access allowed, send identity (e-mail name) as password.
      Password:


    3. Enter: userid@domain.com as the password at the "Password:" prompt.
      Note: Any e-mail address in a userid@domain.com format should work. You will not be able to see the password as you type it.


    4. To download i386.exe from the bussys/winnt/winnt-public/reskit/nt35/i386 directory, Enter: get bussys/winnt/winnt-public/reskit/nt35/i386/i386.exe
      Note: You could have also used ls to view the directory and file names, cd bussys/winnt/winnt-public/reskit/nt35/i386 to switch directories, and get i386.exe to download the file from within that directory.


    5. To end the FTP session, Enter: quit or bye.
    Note: Once you have extracted the resource kit, you will have to expand individual files 
    example: expand choice.ex_ choice.exe



    FTP Commands

    For a list of FTP commands, at the "ftp>" prompt, Enter: helpWhen using ftp from the command prompt, the following list of supported commands will be displayed:
    Note: Hover your mouse over a command to see what the output of "help *" is for that command.


    !   

    delete

    literal

    prompt

    send

    ?   

    debug

    ls  

    put 

    status

    append

    dir

    mdelete

    pwd 

    trace

    ascii

    disconnect

    mdir

    quit

    type

    bell

    get 

    mget

    quote

    user

    binary

    glob

    mkdir

    recv

    verbose

    bye 

    hash

    mls 

    remotehelp

    cd  

    help

    mput

    rename

    close

    lcd 

    open

    rmdir
    
    

    The question mark (?) command is equivalent to the help command. Typing help or ? followed by the name of a command will display a brief description of the command's purpose. The exclamation point (!) can be used to shell to the system (command) prompt. Type Exit to return to the FTP session.

    You can also issue a subset of system commands to perform as you shell out, e.g., ! dir %windir% | more. When the commands in the shell have completed, you will be returned to the FTP session. The pwd command will list the current directory on the remote machine.

    To change directories on the remote machine, use the cd command. To create a new directory on the remote machine, use the mkdir command followed by the name you would like to assign to the new directory. The lcd command can be used to change directories on the local (PC) machine.

    To display a listing of files on the remote system, enter: ls or dir.



    To download a file (copy a file from the remote system to your PC), you can use the command get or recv followed by the name of the file you would like to download. Optionally, you can follow the filename with a second filename which will be assigned to the file when it is downloaded to your PC.

    To download multiple files, you can use the mget command followed by a descriptor for the files you would like to download (e.g.: *.f for all files ending in ".f" or *.* for all files).

    You will be prompted to indicate whether you would like to download each file in turn. To turn off this prompting, enter the prompt command prior to entering the mget command; you will receive the message "Interactive mode OFF" indicating that prompting has been deactivated. By default, files are downloaded and uploaded in ASCII file transfer mode.

    To download or upload files using Binary format mode, enter the command Binary at the "ftp>" prompt prior to downloading or uploading the file(s). To return to ASCII file transfer mode, enter the ASCII command. To upload a file (copy a file from your PC to the remote system), you can use the command put or send followed by the name of the file you would like to upload.

    Optionally, you can follow the filename with a second filename which will be assigned to the file when it is uploaded to the remote system. The mput command can be used to upload multiple files.

    You can use the close or disconnect command to drop the current ftp connection without exiting from the command enironment and then use the open command to connect to a new host.

    How to check for open ports on Linux

    Checking for open ports is among the first steps to secure your device. Listening services may be the entrance for attackers who may exploit...