08-24-2017
i am from amrita college of engineering,
course unix
professor ashwin
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
iam having the file as follows:
ABCDEFGH|0987654321234567
ABCDEFGH|0987654321234523
ABCDEFGH|0987654321234556
ABCDEFGH|0987654321234545
POIUYTRE|1234567890890678
POIUYTRE|1209867757352567
POIUYTRE|5463879088797131
POIUYTRE|5468980091344456
pls provide me the split command
... (14 Replies)
Discussion started by: nivas
14 Replies
2. Shell Programming and Scripting
I want to compare some files.
say iam having 2 sets of files ,each is having some 10 files.
ie,
file1
1a.txt
1b.txt
1c.txt
...
file2
2a.txt
2b.txt
2c.txt
...
i need to read line by line of this files parralley..
ie.. i want to read file1 first line that is 1a.txt and file2... (2 Replies)
Discussion started by: nivas
2 Replies
3. Shell Programming and Scripting
Hi,
Iam having file1 as follows:
ERTYUIOU|1234567689089767688
FDHJHKJH|6817738971783893499
JFKDKLLUI|9080986766433498444
FILE2
ERTYUIOU|1234567689089767688 resh@abc_com 767637218328322332 893589893499 asdsddssd ... (21 Replies)
Discussion started by: nivas
21 Replies
4. Shell Programming and Scripting
Hi,
I am looking for a PDF or an e-book which can show in details how to do Shell Scripting or Programming. Can anybody provide me with a link to such a tutorial? I have downloaded some tutorials but they show only basics and not give any in-depth study material.
I am using Red Hat Linux... (2 Replies)
Discussion started by: indiansoil
2 Replies
5. Infrastructure Monitoring
# set date to your spec: this is month/day/yr/hr/min/sec:
sysdate=`date '+%m/%d/%Y-%H:%M:%S'`
# get the last line before the history file is modified
tail -1 /tmp/hosthistory.txt |while read lastdate mydevices
do
echo $lastdate
echo $mydevices
done
LIST = 'ypcat hosts|| sort... (11 Replies)
Discussion started by: lemseffert
11 Replies
6. Shell Programming and Scripting
I was trying out some new series to get it print
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
and the seond one is
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
but was unable to get the result. (5 Replies)
Discussion started by: harjinder
5 Replies
7. Shell Programming and Scripting
hi,
i am trying this while loop and i only want that it should only read food as pizza....no other entry should be taken here.
#!/usr/bin/perl -w
$food = " ";
while ( $food ne 'pizza' )
{
print 'enter what you had last night: ';
chomp ($food = <STDIN>);
#print $food ;
}
... (2 Replies)
Discussion started by: kullu
2 Replies
8. UNIX and Linux Applications
Hi,
We need to compare a text file File1.txt and config file File2.txt in a way that it checks if the content of File1.txt exists between the range mentioned in File2.cfg.
The range here is the range between col1 and col2 of File2.cfg
If the content of File1.txt lies between the range of... (12 Replies)
Discussion started by: CFA
12 Replies
9. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
LEARN ABOUT DEBIAN
rsnapshot-diff
rsnapshot-diff(1) rsnapshot-diff(1)
NAME
rsnapshot-diff - a utility for comparing the disk usage of two snapshots taken by rsnapshot
SYNOPSIS
rsnapshot-diff [-h|vVi] dir1 dir2
DESCRIPTION
rsnapshot-diff is a companion utility for rsnapshot, which traverses two parallel directory structures and calculates the difference
between them. By default it is silent apart from displaying summary information at the end, but it can be made more verbose.
In the summary, "added" files may very well include files which at first glance also appear at the same place in the older directory
structure. However, because the files differ in some respect, they are different files. They have a different inode number. Consequently
if you use -v most of its output may appear to be pairs of files with the same name being removed and added.
OPTIONS
-h (help)
Displays help information
-v (verbose)
Be verbose. This will spit out a list of all changes as they are encountered, as well as the summary at the end.
-V (more verbose)
Be more verbose - as well as listed changes, unchanged files will be listed too.
-i (ignore)
If verbosity is turned on, -i suppresses information about symlinks, directories, and special files.
dir1 and dir2
These are the only compulsory parameters, and should be the names of two directories to compare. Their order doesn't matter,
rsnapshot-diff will always compare the younger to the older, so files that appear only in the older will be reported as having been
removed, and files that appear only in the younger will be reported as having been added.
SEE ALSO
rsnapshot
BUGS
Please report bugs (and other comments) to the rsnapshot-discuss mailing list:
http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss <http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss>
AUTHOR
David Cantrell <david@cantrell.org.uk>
COPYRIGHT
Copyright 2005 David Cantrell
LICENCE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2011-07-09 rsnapshot-diff(1)