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 ]
Monday, 12 November 2012
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
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.
Labels:
Command Line,
Computing,
Data recovery,
Debug,
desktop,
File systems,
hack,
Java update,
Malware,
PC,
programming,
Prompt,
Server,
solution,
Tookit,
Troubleshoot,
tutorial,
Win7,
Windows,
Xp
Sunday, 7 October 2012
Code - breaking ( PHP programming ) Warming up
For some time I've developing stuff in PHP .. Like experimenting stuff
Its a very interesting language
to experiment with .. As it is the same with Java, Python, PHP, C++ and Ruby&Rails ....
Today, I felt like talking about php .. One, think there is one important think to say to anyone willing to learn and programm in PHP, for you to run and develop php on your computer, its necessary to have a server running on the machine that will be used to develop and write the php code ..
It might sound quite complicated but its very simple ...To setup a server on your own computer just download Xampp for Windows, LAMP for Linux, or MAMP for Mac OS (Apple).
After your download it and install it and run properly the server you will able to see you php files via-localhost on your browser. This post isn't about how to install your server and run the localhost .. But I can explain it on another post .. For now, lets just focus on PHP coding.
The simple and first thing on any programming language is the
"Hello World"
"
<html>
<head>
<title> Test PHP </title>
</head>
<body>
<?php
echo " Hello World ! ";
?>"
</body>
</html>
"
That's it simple ....
O Browser will see somethink like this;
to experiment with .. As it is the same with Java, Python, PHP, C++ and Ruby&Rails ....
Today, I felt like talking about php .. One, think there is one important think to say to anyone willing to learn and programm in PHP, for you to run and develop php on your computer, its necessary to have a server running on the machine that will be used to develop and write the php code ..
It might sound quite complicated but its very simple ...To setup a server on your own computer just download Xampp for Windows, LAMP for Linux, or MAMP for Mac OS (Apple).
After your download it and install it and run properly the server you will able to see you php files via-localhost on your browser. This post isn't about how to install your server and run the localhost .. But I can explain it on another post .. For now, lets just focus on PHP coding.
The simple and first thing on any programming language is the
"Hello World"
"
<html>
<head>
<title> Test PHP </title>
</head>
<body>
<?php
echo " Hello World ! ";
?>"
</body>
</html>
"
That's it simple ....
O Browser will see somethink like this;
Saturday, 15 September 2012
Friday, 31 August 2012
Thursday, 30 August 2012
Learn how to build a desktop computer or PC
Learn how to build your own computer or PC. Allows you to customize to meet your exact needs! Sorry the quality is a little bit crappy.
Parts...
Cooler Master Elite 310 Case
Asus P5Q SE Plus motherboard
Intel Quad core Q8200 2.33 GHZ 4 MB cache 1333 MHZ FSB
Kingston PC8500 2 GB RAM 1066 MHZ
XFX GeForce 9800 GT 512MB GDDR3
Samsung 500 GB SATA HD 7200 RPM 16 MB buffer
Antec 500 W power supply
Samsung 22x SATA dual layer DVD burner
2x Antec 120mm ball bearing multiple speed fans
Music by: incompetech.com
Song: Deliberate Thought
For use under Creative Commons license 3.0
Parts...
Cooler Master Elite 310 Case
Asus P5Q SE Plus motherboard
Intel Quad core Q8200 2.33 GHZ 4 MB cache 1333 MHZ FSB
Kingston PC8500 2 GB RAM 1066 MHZ
XFX GeForce 9800 GT 512MB GDDR3
Samsung 500 GB SATA HD 7200 RPM 16 MB buffer
Antec 500 W power supply
Samsung 22x SATA dual layer DVD burner
2x Antec 120mm ball bearing multiple speed fans
Music by: incompetech.com
Song: Deliberate Thought
For use under Creative Commons license 3.0
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
Subscribe to:
Posts (Atom)
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...
-
How To Hide and unhide the hard disk Volumes using CMD Commands : First check how many drives are there in my computer and then s...
-
Simplify Your Ansible Playbook Creation with ChatGPT Are you tired of writing complex Ansible playbooks manually? Want to streamline your ...
-
New GNS3 Setup With Lower CPU Load and Lower Memory Consumption ..Try It !!!