General :: Why Does Md5sum Return A Dash At The End

Apr 19, 2011

why does md5sum return a dash at the end:

Code:
$ md5sum
string290350295 -

How can I remove this using the md5sum tags?

View 2 Replies


ADVERTISEMENT

General :: BASH/Dash : Put A JPEG Or PNG Into The Clipboard?

Dec 5, 2010

copy a jpeg or a png and place it into the clipboard of X11 of my icewm. which program can do cat "myfile.jpg" > ?theclipboardofx11?

View 10 Replies View Related

General :: Detect Duplicate Files Using Md5sum ?

Feb 21, 2011

What i am trying is to check the file duplication in a folder and remove a file if it is a duplicate of another file ie the contents are duplicate; but names may be same.

Basically i am using md5sum to calculate the md5sum values of each file and redirecting to a file. And i am thinking of comparing the md5sum values.But i am finding it hard to decide how to complete the code after redirecting the output of calculation of md5sum to a file.

View 3 Replies View Related

General :: Passing Options To A Program: What's The Convention For One Dash Vs Two?

Mar 20, 2011

Some programs will take options like this:$ someprogram -orange apple

And other programs will use something like this:

$ otherprogram --orange apple

Is there a "rule" or convention for this in Linux/Unix/OSX?

View 2 Replies View Related

General :: Package Versioning And Difference Of MD5Sum On Files?

Jun 20, 2011

I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.

1. The package ends up with a .el4 on the end of the version for Red Hat 4.

2. The actual MD5Sum of the files the package provides differ.

An example below:

Code:

[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done;
md5sum: /etc/gconf/2: Is a directory
9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path
md5sum: /etc/gconf/gconf.xml.defaults: Is a directory

[code].....

So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.

View 8 Replies View Related

General :: Convert Windows Filenames To *nix Notation - Use It On Shell With Md5sum?

Aug 25, 2011

I have some checksums.md5 verification files from an ntfs external drive, but using windows notation: instead of /, spaces between file names (not escaped), reserved shell characters (like (, &, ', to name a few). The checksums.md5 has a bunch of checksums and filenames:

[code]...

I want to use this checksums.md5 to verify the files that I've copied to my machine: but I'm on a Linux, so I need to convert the names inside checksums.md5 from Windows to Linux to use the md5sum utility from the shell. The first line in my example would become: f12f75c1f2d1a658dc32ca6ef9ef3ffc My Windows & Files (2010)/[bak]/testing.wmv Is there some application for this (converting a file listing, from windows cmd notation, to linux shell notation) or will I need to create a bash script using sed that just "replaces" what is "wrong" with the filenames

View 1 Replies View Related

General :: Commands To Save Md5sum Of Files In A Folder Into A Text File?

Sep 14, 2010

I've found these commands in [URL]:

Quote:

find -type f -print0 | sudo xargs -0 md5sum | grep -v isolinux/boot.cat | sudo tee md5sum.txt

But I don't understand these commands, even after reading their manuals.

View 4 Replies View Related

General :: Back Up Scrip - Find / Cp / Md5sum / Rm - Move All Files And Directories

Oct 22, 2010

I want to move all files and directories that are 1 month old out to back up into a separate folder. There will be a lot of files and I want to make sure it copies properly. The problem I'm having is integrating a MD5SUM into it to check integrity. MD5SUM is not recursive, so I figured it would work in a loop when it copies each individual file, I'll do a md5sum on each file and delete that md5 once its verified it copied ok.

[Code]...

I also need some sort of error handling to output all md5's that didnt pass the hash check.

View 3 Replies View Related

General :: Alt-ctrl-f1 / Would Not Return To A Gui?

Aug 12, 2009

ok, I pressed alt-ctrl-f1 and it displayed my screen with a gui. I then pressed alt-ctrl-f2 and it displayed a textual desktop. I pressed alt-ctrl-f3 and it displayed the same thing. When I pressed alt-ctrl-f1 to return to my gui, it would not let me return to a gui. I was stuck in a cmd line textual desktop.

How, without restarting, do i return to a gui once I press alt-ctrl-f2??

View 3 Replies View Related

Ubuntu :: Where Is The Top Panel And Dash

Aug 13, 2011

I did install awn and setup. Nice look I got, but, some mess I must did, and the top/bottom panel disappeared, and the dash did too. After some search on the web, got back top panel, although it is not automatic, I must to start it.

View 1 Replies View Related

Debian :: Where Is The Md5sum File

Feb 17, 2010

Debian 504 64bit netinst

I have the above iso.img download. But I can't find its md5sum. I have been searching around on debian.org website and have no idea where it is kept.

View 4 Replies View Related

General :: Rpm -qa Doesn't Return A Result

Jul 3, 2010

I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.

View 2 Replies View Related

General :: Get Return Value From Command Run Within Screen?

Jan 13, 2010

I'm trying to get a return value from the command running within screen. I have tried

Code:
screen "some_command ; echo $? > retval"
but this refuses to write "retval".

[code]....

View 1 Replies View Related

General :: Script To Return IP Address

Feb 11, 2010

I am writing a script that will give me the network address that a host belongs to, for example if a machine has a ip address of 192.168.1.4 I want the script to give me 192.168.1.0.

I am able to get the ip address echoed using:

Code:

I am having trouble getting the ip address stored as a variable so I can work with it, below is what I have

Code:

View 7 Replies View Related

General :: How To Return Path To Its Original Value

Jul 20, 2010

Alex accidentally deletes his PATH variable.what are some of the problems he may soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value?

View 14 Replies View Related

General :: Return Value Of Tftp Is Always Zero In Cronjob?

May 15, 2010

I have called an script in cronjob named get_mac.sh as follows:

#!/bin/sh
MAC=`ifconfig eth0 |sed -n 1p|awk '{print $5}'|awk -F : '{print $1$2$3$4$5$6}'`
ARG_FILE="/etc/asterisk/scripts/server.params"

[code]....

View 1 Replies View Related

General :: Yum Update Script With Return Value?

Jul 27, 2010

I am trying to automate yum update of specific package on a remote machine.So far I have this:

#!/bin/bash
# Update my system
if ! yum update w3m
then
failure=1

[Code]...

View 3 Replies View Related

Fedora Installation :: How To Check F13 Md5sum

May 26, 2010

I have Fedora-13-i386-DVD.torrent download on;

Fedora Project Bittorrent Tracker [URL]

Finally the package folder downloaded;

$ cd Fedora-13-i386-DVD
$ ls
Code:
Fedora-13-i386-CHECKSUM Fedora-13-i386-DVD.iso

[Code]....

View 11 Replies View Related

Fedora :: Gnome 3: Add Link To Dash?

Jul 31, 2011

In Fedora 14 I used to have some links to often used folders in the top panel, and now I would like to have some shortcuts in the Gnome 3 dash. I tried adding a custom launcher to the applications menu using alacarte, but it doesn't show up there. There is, however, an entry in alacarte-made.desktop. Is there any way to accomplish this?

Code:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link

[Code].....

View 2 Replies View Related

Ubuntu :: Em Dash, Remapping Key Combinations?

Apr 16, 2010

I have this crazy idea to map an em dash to AltGr+Dash, replacing the yen symbol currently produced by that key combination. Is there a way to do that?

Unless, of course, there is another way to produce an em dash with the US International keyboard? Not including OpenOffice's autocorrect feature.

View 5 Replies View Related

Ubuntu :: Check The Md5sum Using Terminal?

Aug 13, 2010

Is there a command to use to check md5 sum of a downloaded iso the md5 txt is in the iso

View 3 Replies View Related

Ubuntu :: ESC Character In Dash Shell

Oct 21, 2010

when I try to enter an escape sequence in the interactive mode of dash, it keeps on spewing out the <ESC> character as ^[ displayed in plain text instead of catching it as a control character. I vaguely remember encountering this on some UNIX shell but for the life of me I can't find anything on it. So how do I properly enter escape sequences in dash's interactive mode? (it supposedly supports vi line edit mode but I can't access it at all because of the ESC situation)It's not a make-or-break thing.

View 2 Replies View Related

Ubuntu :: Remove The 3 Whitespaces And Dash?

Apr 27, 2011

im having some trouble with Md5sum, when i run

Code:
echo -n AlBgNb5Q5gic | md5sum

i get the hashed string with 3 white spaces and a dash, how do i remove the 3 whitespaces and dash? I need it to match with md5 over at mysql server but it fails, i'm guessing the problem is with the whitespaces and the dash

View 2 Replies View Related

Ubuntu :: Remove A Shortcut From Dash?

Sep 1, 2011

I have Ubuntu 11.04, upgraded from 10.10, and I'm logging into the default Ubuntu, Unity. In Dash, if I search for "firefox", I get three results:

Firefox Web Browser
Mozilla Firefox
Mozilla Firefox (Safe Mode)

Clicking Firefox Web Browser brings up Firefox just fine. But both Mozilla Firefoxes do nothing. I have a feeling that they're left over from Wine, but I'm not sure. The Uninstall Wine Software program doesn't show Firefox, but I may have uninstalled it through there a long time ago.

I want to remove these shortcuts from Dash. I tried checking the Main Menu program, but Mozilla Firefox isn't in there (though Firefox Web Browser is). I looked in /usr/share/menu/, and found a file called "firefox". That file specifies a title of "Firefox Browser", so I'm not sure if it even applies. The command it gives, "/usr/bin/firefox", is good, anyway. I don't see any other firefox related file there.

So, does anyone know how I remove those shortcuts from Dash?

View 1 Replies View Related

Red Hat / Fedora :: Script To Compare The MD5sum Of A CD And The ISO?

May 20, 2010

I've been using a script to compare the MD5sum of a CD and the ISO used to burn the CD. This script works great in Fedora 8 but in Fedora 12 it returns a different check sum for the CD and ISO.

Code: #Compares the checksums of an iso9660 image and a burned disk.
#This script is released into the public domain by it's author.
if [ -n "$BASH" ]; then
shopt -s expand_aliases
fi

[Code].....

View 2 Replies View Related

Programming :: Bash Md5sum Edit With Sed?

Jan 5, 2011

I am trying to get a checksum for a file in a subscripted variable in a bash script. md5sum outputs a checksum and the name of the input file. For example:

Code:
eval CSUM$K=$"(md5sum file)"

This might return something like this:

Code:
3cff5d5c0113959d0be62be34b97e05c file

I want to assign just the checksum to the variable in my shell script and omit the file name that follows. Is there something besides md5sum that will generate a checksum? Or if not, then I was thinking I might be able to extract the checksum without the file name using sed.

View 14 Replies View Related

Slackware :: Md5sum Error In 64-current

Mar 29, 2011

I'm getting an md5sum error on two files in the latest slackware64-current:

This problem doesn't appear to be due to my download.

The 32-bit slackware-current has no md5sum errors.

View 3 Replies View Related

Ubuntu :: Natty - What Is New About Unity New Look Dash

Mar 4, 2011

I have read about it, looked at screen shots of it but I don't think Unity runs on a virtual machine yet so I have not laid hands on it. Still it looks to me like a remake of the old Windows 3.x "program groups" concept (at least it was called something like that back before the fall of the Roman empire). Looks like a waste of space to me to have all the program and file icons in a box instead of tucked out of the way along a panel.

View 1 Replies View Related

General :: Harddisk Formatting With Dd Return Error?

Apr 2, 2010

I tried to format my harddisk (160 GB) with the following command

dd if=/dev/zero of=/dev/sda

After some 3 hours, following error came up:

dd: writing to '/dev/sda' : No space left on device
312581809+0 records in
312581808+0 records out
160041885696 bytes (160 GB) copied, 10708.3 s, 14.9 MB/s

View 2 Replies View Related

General :: Command To Return Number Of Bits (32 Or 64)?

Nov 7, 2010

What is a Linux command that I can run to programmatically return either 32 or 64 to indicate whether the processor is a 32 bit or 64 bit processor?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved