I would like to download and show a source of an webpage in stdout, but this is a https page with authentication form, which requires logging in. I tried like this:
Code: wget -q --no-check-certificate --http-user=USERNAME --http-password=PASSWORD https://webpage.domain.com -O - However, it still downloaded only this login page, not the real webpage. Using the Firefox I can authenticate just fine. Any ideas?
I thought this question's best category would be in the newbie sectionBasically I have a C code, (for simplicity is only prints a few lines), called printx.c that I would like to convert into a binary file so whenever I have to type "printx" in the command line it would execute the programofcourse gcc will give me a binary file if I do a "gcc printx.c", but even the output file (e.g. print.outwould have to be executed following manner./print.outI only ask, because I notice programs like mailx (which is written in C) is a binary file that could be run in this manner (at least that's what I notice on my ubuntu distro)
So, I usually write/find a test case generator for any code that I write. This type of code generally leads to some file output. To be thorough, I try and generate many different files to test my code on.
Say the command is like this:
Is there a way to automate this for many different values of the parameters and generate many different files?
I wasn't able to use the $i in the filename, and without it the command gave me no errors, but did nothing else either. I know the Unix command line is very powerful, and I have a feeling that this should be possible, but I just don't know how to do it.
I found a strange problem when I use gdb in eclipse to debug. When I step in the program, the register RIP(I'm using x86_64 machine and that's EIP in 32 bit mode) shows correctly but the line stepping in the source code may be far from the correct line. For example, when there is no loop in the source code, the RIP keeps on increasing and the current instruction pointer goes back to several lines back. I'm sure the source code is the right one because I when I checked the memory and local variables after several lines the values are all correct. The source code has many empty lines and does it matters with GDB?
I just need to develop a new command for deleting a file in LINUX Character mode , same like as windows instead of deleting the file , it should move to a folder name trash .I just started reading the source code of coreutil , need to write a code for the new command "delete".Am a MS student with BITS , want to do my dessertation in this , can anyone help me out .
I just need to edit the "rm " command such that it should move all the files / dir to a particular folder instead of deleting. How to edit the source code for rm, such that it should preserve all the deleted files / dir.
I'm using recordmydesktop for screencasts and currently use pavucontrol to select the monitor as the input source, as shown in many guides across the Internet, but I can't find anything on how to do it from the command line. How can I select a monitor as the audio input source for recordmydesktop from the command line?
GNU/Linux 2.6, Slackware 12.0 KDE 3.5.7 KPDF 0.5.7 KGhostView 0.20
To any user of kpdf or kghostview: I loaded a .pdf file (ruteUser_2up.pdf) but it seems to come edited in "two pages " format. I mean, every screen shows two consecutive pages of the book. When I choose View>Two Pages (kpdf) in the hope that it will toggle to one page, it does nothing. Is there any way of seeing the book one page per screen?
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
I am trying to install the tightVNC on my imac.It expects X install; I see that X11 in my utility. I think it is ok, but the instruction states to install it on /usr/bin/. Which is correct?Then I need to have ~JPEG and ~zlib to place in /usr/bin/ or inside of certain folders to use.To make sure it is ok; I put both of them in both of the indicated places. I assume it is going to work.Now, I am suppose to build and install. I am not sure how to do it with the command "xmkmf" and not sure where to run this command.I am doing all of this in terminal.
I'm running spamassassin and want to install the fuzzyocr module for it. One of the dependencies of fuzzyocr is 'giflib' but according to the fuzzyocr page, it needs to be patched before I install it, with a patch which they supply on the fuzzyocr download page. I've tried to install the patch and get the following error.