Sorry it's taken me so long to get back. I've been doing all kinds of things to try to get this to work. At first, I didn't realize that you said to run "md5sum c- *.md5sum" from within the directory. I was trying it at the prompt and kept getting the message, "no such file or directory." After I tried that for a while, I decided to burn another iso image. It did the same thing as the other. Then I realized that you had said "from inside the directory." I booted to get the desktop again (which takes about 15 minutes each time) and tried to locate the file that was shown on your post, "/share1/2012-iso-images/PCLinux etc, etc." I couldn't find a file or directory anywhere that had "/2012-iso-images/. I went to "view/panels/terminal" and got a terminal with me signed in as Root, but it wasn't at the bottom of the screen like your view showed. It was a screen by itself. I tried "md5sum c- *.md5sum" again with nor success, of course. And every time I get out of the terminal, it gives me that black screen again with the green check mark, and I have to turn the computer off and start all over again. I'm sure I'm doing something wrong!
You most certainly are.
When you download a file, you put it somewhere. To keep track of all the .iso images I download, I have a dedicated partition for just that purpose. As root, I created an empty directory named /share1 and in my /etc/fstab created an entry to mount that partition on /share1. To separate the newest images from the older ones, I created the directory 2012-ISO-images, and in it I have sub directories for the various images. Each image is in its own directory, with its proper .md5sum file, and sometimes a package list that lists the actual packages installed by default. You will find none of these directories on your machine, unless you choose to create them.
What you need to do is locate the directory, on your own machine, wherein you have placed the image you downloaded. I would have no idea what you called that directory, or whether you dumped a lot of different images, along with other miscellaneous files, into the same directory.
To find out exactly where you put your downloaded image, try the locate command
.[prompt <pwd>]$ locate pclinuxos-kde
I treat my stored data as if it is a file cabinet, with each item or related group of items having their own dedicated directory/folder. This makes it easier to locate those files when I need them, and also makes for less typing when entering CLI commands. The use of *.iso or *.md5sum works very well when there is only one of each in a directory. If there were dozens of similar files in one directory, all with long names, I would have to type each name individually, in full to get the proper results.
The next thing you need to be sure of is the actual command used when doing your check. The command is...[prompt <pwd>]$ md5sum -c *.md5sum
...not[prompt <pwd>]$ md5sum c- *.md5sum
Note the placement of the - before
in the correct command, not after
, as in the incorrect command you presented. In the CLI, attention to detail is everything. A single typo can be disastrous. At best, with a typo, nothing happens or you get an error message. At worst, if the typo is an actual legitimate command, you can wipe out your entire system, or all of your personal data, or parts thereof of either.
In Dolphin, navigate to the directory holding the files you wish to work with. If they are clumped into one big directory with lots of other files, create a new directory with a descriptive name, and move only the pertinent files into it. From within that directory, press the F4 key
, and the attached terminal will appear showing the <pwd>
in the prompt. (present working directory
The attached terminal always stays in sync with the GUI navigation location. When you change directory location in Dolphin, the <pwd>
in the terminal panel will change to the same location, which is a great plus when you work with both GUI navigation and CLI commands. The images I posted show my standard Dolphin configuration, with somewhat smaller window size, for posting convenience. I always have the filesystem tree view panel open on the left, the main window is always set to icon view, there is always an editable location bar, and the attached terminal is always open. The muli-colored prompt aids in separating command line from results, and makes it easier to read the <pwd>
when working from a regular Konsole terminal
Because I check the md5sum of a large variety of files, I also create aliases for the longer commands to reduce typing, and keep all my aliases in a hidden file named .alias. The current ones are shown below.
Instead of typing the full command shown previously, I can accomplish the same thing using the shorter alias mdc
If I want to create a new checksum file for the .iso image, with the extension .md5
rather than type out the entire command FILE=$(basename *.iso .iso); md5sum $FILE.iso > $FILE.md5
I can use the three character alias mdi
Using the cat command
to inspect the contents of both checksum files reveals the contents are the same, only the extension is different.
All of the above is to illustrate how simple, hard to screw up, aliases can help prevent mistyped longer commands, and accomplish what you set out to do.