Software :: Linux Diff For Links Nonresolving?
Feb 8, 2010
Where can i find such subj? I don't see that standart diff supports such feature. It will be used for backup big directory like /home. Because directory is too big so repositories like svn are unacceptable. Good case seems to be diff+tar.gz to save differences for last n-th monthes for example. /home could contain doth hard and symbolic links that are not resolvable on backup machine but could have sense at all (= be resolvable on other machines where /home is used too via nfs mounting).
View 4 Replies
ADVERTISEMENT
Jun 2, 2010
I like the output of
Code:
git diff --color-words old..new
but I do not know how to set --color-words permanently in the ~/.gitconfig file.
Edit: I guess I should've said that I do not want an alias for diff --color-words
View 5 Replies
View Related
Apr 21, 2010
Found that RedHat Linux supports Context-Dependent Path Names in symbolic links using special reserved CDPN variables. Will it be possible to create a user-defined CDPN variable and use it in creating a symbolic link
View 2 Replies
View Related
Dec 6, 2010
At my Uni, we use a web-based login for our internet connections. Its based off of Cisco, and every Wednesday night every computer on campus must re-enter their credentials to use the network.
Normally on my several computers I simply pull up the Terminal, point links to google.com using
Code:
And enter my credentials when Cisco redirects to the login page.
Literally, the process is
Code:
Then ENTER to accept the redirect, down arrow to skip over the logo image, USERNAME, ENTER, PASSWORD, ENTER, ENTER.
Naturally, this is EXTREMELY time consuming, as I have about 5 computers located around campus and must physically walk to the machines and login every single week.
My question is, How would I formulate a program that does the following;
1) checks for connectivity (i.e. is able to reach/resolve to the greater part of the internet) and
2) automatically fills in the credentials on the links login page?
View 2 Replies
View Related
Feb 3, 2009
I have a personal wiki of notes, with now thousands of links in markdown format:
[link text](http://example.com)
but now that fckeditor is available for mediawiki (very beta), it has become much better to just stick with wikitext format. There are only a few conversions to do: tables, links, and bulleted lists. The lists are a fairly simple regex and fckeditor magically reformats the tables, so all I'm left with is the links. But I'm not a regex master. How do I reformat code...
View 12 Replies
View Related
Apr 15, 2009
I have centos 5.29 on one hard drive in a box and now someone wants to hook up his own XP Hard drive every now and then when I am not using centos.
Rather than have to disconnect everytime, is there a way I can have the 2 drives in the box and have the option at bootup which one to use?
View 1 Replies
View Related
Jun 18, 2010
when i compile a software ABySS, it reported that:
/usr/local/include/google/sparsehash/libc_allocator_with_realloc.h:66: warning: unused parameter 'n'
make[2]: *** [libalign_a-Aligner.o] Error 1
make[2]: Leaving directory `/var/data/abyss-1.2.0/Align'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/data/abyss-1.2.0'
make: *** [all] Error 2
someone said it because of a bug of google-sparsehash. and gave a patch "deallocate.diff ". my problem is how to use deallocate.diff to fix the bug.
View 1 Replies
View Related
Dec 21, 2009
if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?
View 1 Replies
View Related
Sep 17, 2010
When I build my software with rpmbuild command, the rpms are not gettinggenerated in the directory specified in rpmmacros file(%_rpmdir)This is what I am doing..
rpmbuild -bb -vv --buildroot <build root path> --target=x86_64 --rcfile /tmp/rpmrc /tmp/mySpecfile.spec
# cat /tmp/rpmrc
[code]....
View 3 Replies
View Related
Jun 19, 2010
Does diff not like arrays? How do achieve the following?
Code:
stuart@stuart:~/music transfer$ diff file1.txt file2.txt
1c1
< bonkers_in_phoenix.mp3
[code]....
View 14 Replies
View Related
Apr 16, 2010
I have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?
View 2 Replies
View Related
May 5, 2010
i would just like to verify that the command
lspci would show the FC adapter installed
is there any other command that i can use to verify the FC adapter is being installed
View 4 Replies
View Related
Jun 27, 2011
I downloaded a package with an extension .diff.gz. I extracted it and got a .diff file. how to install a .diff file?
View 1 Replies
View Related
Apr 19, 2010
1/ I haven't catch the difference between dwdiff, diff or dircomp If one wants to only output files (JPEG, doc, etc.), which have been created, absent or modified The command:
diff -r -q
works well, any advantage for another command? Subtilities between commands for issues like:
* identical content, but renamed files
* identical names & date & weight, but different content (virus)
2/ Is there a way to tell diff to store in a specific directory all missmatched files?
Something as
diff - r -q oldBackup actualData /media/sda1/discrepant
Where diff would store in media/sda1/discrepant all files which are new or modified after comparison between oldBackup and actualData
View 1 Replies
View Related
Jul 6, 2011
I would like to compare the (screen) output of one bash script with the (screen) output of another bash script to ensure the output is exactly the same.The reason for this is that I am receiving a consolidated data feed from an IP address and have moved some of the data feed to a 'new' source IP address. I will turn off the feed from the original once satisfied that the new is receiving the same data. The format of the output from the scripts are exactly the same.
Tried so far
./IDCGRE.sh | grep FX.CK | diff < ./IDCGRE2.sh
./IDCGRE.sh | grep FX.CK | ./IDCGRE2.sh | diff
[code]...
View 3 Replies
View Related
Nov 30, 2010
I have two H/D and i need to install XP and RHEL5.3 in different H/D connected to single machine.so that when i boot from first H/D linux will boot or if i choose second XP will boot.
View 7 Replies
View Related
Feb 16, 2010
I would like to make a one-liner, which diff's "ps aux" output before and after killing a process. So basically it should be a combination of fallowing commands:
1) diff -u
2) ps aux | awk '{print $2}'
3) kill `ps aux | grep [c]ron | awk '{print $2}'`
4) ps aux | awk '{print $2}'
How to achieve this? Something like this:
Code:
diff $( kill `ps aux | grep [c]ron | awk '{print $2}'` && ps aux | awk '{print $2}' ) $( ps aux | awk '{print $2}' )
I don't have pgrep or pkill available.
View 3 Replies
View Related
Feb 12, 2010
I want to Migrate my C++ Application from SuSE Linux to Red Hat Linux.What impact analysis i should do?
View 3 Replies
View Related
Apr 20, 2011
I have 500 folders of templates in one folder. Now each folder has file called template_thumbnail.png . now i want something so that all those files get copied to one folder with name same as the home folder name
I have cygwin installed and i can copy that folder in there so basically it will linux shell script
View 1 Replies
View Related
May 19, 2010
My Friend and I have a similar spec PC apart from mine has 4GB DDR2 his 2GB DDR2 and Mine quad core 2.3Ghz and his Dual core 2.3Ghz.... Both on a fresh 10.04 install with Grub2
Bootchart beats mine by about 10sec why?[Files Attached]
Edit files here: (Attached got resized)
Mine : [URL]
Friend : [URL]
View 9 Replies
View Related
Dec 26, 2010
I'm new to scripting and I have a trouble with if statement syntax. The code is: Code: #there is a diff command here, and it does what i want but#i wanna see 1 if the exit value of diff is 0, and otherwise i wanna see 0.#the problem is here: (syntax error near unexpected token "then")
if["$?"==0];
then
echo 1
[code].....
View 1 Replies
View Related
Mar 12, 2010
I am unable to ssh a Linux box from other Linux boxes; also tried to window putty.Although I am getting the password prompt instantaneously.So far, by comparing logs of other server, I am just able figure out that "debug2: callback start" is not coming in ssh -vvv logs.
View 2 Replies
View Related
Mar 17, 2010
how to share a folder from linux to linux systems and setting password to open that folder
View 14 Replies
View Related
Jul 24, 2009
I have Fedora in dual boot with windows on a laptop. I have a weird clock problem. If I get the clock set correctly in Fedora, then it's 4 hours too fast in Windows. When I fix it in Windows and then restart into Fedora, it's 4 hours too slow in Fedora!Why are they competing with each other and how do I get them to both be correct?
View 6 Replies
View Related
Jan 13, 2011
I have a program that writes to stdout. Is there a way that I can redirect the output to the linux diff command or do I have to write the output to a file and then compare that. For example I have a bunch of test input files for a program and the corresponding expected output in another set of files. And I'd like to do something like ./program < t1.input | diff t1.expected.
View 3 Replies
View Related
Jan 6, 2010
In gnome terminal it is possible to open multiple tabs with Quote:$ gnome-terminal --tab-with-profile=jake_lardasset --tab-with-profile=virtualsexgranny -x alpineWe got even further....Quote:gnome-terminal --tab-with-profile=james_treesexer --command pymol --tab-with-profile=loverboy13 --command alpineand pymol runs, but not in the tab and alpine runs in the tab.The problem is, that when using a script to check mail it has Quote:gnome-terminal --tab-with-profile=chrissypink --command alpine --tab-with-profile=jake_hugerichard -x ssh xxxx@xxxx.ut.eenot the other way aroundIs there a simpler way to do this?And why is it not possible to execute ssh with the --command parameter and -x has to be used ,but top and so on can be executed with --command
View 2 Replies
View Related
Jul 19, 2010
install immunity debugger on system and found it very diff?
View 2 Replies
View Related
Mar 26, 2010
i tried using diff --GTYPE-group-format= with <%, but not sure that right solution.Here's what im trying to do. I have two c source files, file1 and file2. file1 has a function in it that's been modified in file2. However, the functions begin at differnt line numbers in eachof the files. Is there a way to specify a range of file numbers on file1 and file2 to compare, using diff or any other combination of utilities? I can always output text from a range of lines from each file to two separate and new files and then compare those, but that's tedious. I could also write up a script to automate this type of solution, but I imagine there's an existing way of doing this.
View 1 Replies
View Related
Jul 16, 2009
I'm writing a script using ksh that diffs two dirs that contain about 30 files, and writing the results on a logfile. When files differ, it writes the difference with no problem, but I also need the script to write a message if no differences are found.
View 3 Replies
View Related
May 21, 2011
I' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?
View 9 Replies
View Related