linux

merge / convert multiple pdf files into one pdf

How could I merge / convert multiple pdf files into one large pdf file? I tried the following, but the content of the target file was not as expected: convert file1.pdf file2.pdf merged.pdf I need a very simple/basic cli solution. Best would be if I could pipe the output of the merge / convert straight into pdf2ps ( as originally att...

Linux USB debug connection to LuminaryMicro evaluation board

Hi, I am trying to connect a Stellaris LM3S8962 evaluation kit to a linux host machine. I am using the CodeSourcery G++ for the development toolchain. When I try to run a helloworld example the connection fails with this message: arm-stellaris-eabi-sprite: error: E104. I/O Error communicating with USB Device. arm-stellaris-eab...

Learning resources for Linux filesystem, command line, and structure

Can anyone suggest some good materials for learning more about the Linux filesystem and command line? I have found myself frequently confused as to what programs go where on the Linux filesystem. I would like to learn how the various directories (var, etc, usr ...) are used and how to use the commandline more effectively. I come from th...

How to enable fall-through directories in Linux, so if /path0/file doesn't exist, path1/file is used

I'm seeking way to have linux fall-through on directories so that with this structure: /dir0/a.txt: "A" /dir0/b.txt: "B" /dir1/c.txt: "C" /dir1/b.txt: "BBB" dir1 falls back to dir0, leading to: cat dir1/a.txt: "A" cat dir1/b.txt: "BBB" cat dir1/c.txt: "C" ...

Access with Silverlight to a postgres database running under Linux ?

Hi everyone, I know we cannot access directly to a database with Silverlight. Linq 2 SQL doesn't exist for Silverlight but can I use other things ? I heard too about RIA Services and ADO.net but I don't think they are implemented for a Linux Server. Thanks for your future answers. ...

ntlm tomecat module on linux? http://tomcatspnego.codeplex.com/

Any one has experience with this? http://tomcatspnego.codeplex.com/ ...

How can you "avoid" a SIGSEGV?

Hi, I'm writing a client-server app, in which the client has a determined memory address from the server side. If something goes wrong and the server needs to be reestarted the address the client has is not valid anymore. When using a function using that invalid info a SIGSEGV will be sent to the server as the address may not be its any...

objdump -S - source code listing

How does objdump manage to display source code? Is there a reference to the source file in the binary? I tried running strings on the binary and couldn't find any reference to the source file listed... Thanks. ...

How to use file contents as command-line arguments?

I'd like to use arguments from file as command-line arguments for some commands like gcc or ls. For example gcc -o output -Wall -Werro as file consist of: -o output -Wall -Werro Used for gcc command-line call. ...

Kernel panic when altering system_call in entry.S

I'm trying to implement a system call counter, and as a result I included an int value in task_struct, and a function that increments it in a separate file. This function is supposed to be called from system_call right before it actually calls the required sys_call (I have my reasons to call it before and not after). However, if I place ...

installing xuggler java libraries in Tomcat on Linux

I'm trying to install xuggler Java libraries in Tomcat (version 5.5) on fedora-release-7-3 Should I install the binaries available for download on xuggler website or build my own (http://www.xuggle.com/xuggler/downloads/build.jsp)? I took the easy step first and installed the readymade binaries downloaded from http://www.xuggle.com/xug...

A method to change effective user id of a running program?

I'm writing a simple package manager and I'd like to automatically try sudo if the program isn't run as root. I found a function called seteuid, which looks likes it's exactly what I need, but I don't have the permissions to run it. So far all I can think of is a bash script to check before they get to the actual binary, but I'd like to ...

GUI for linux c

is it possible to develop a GUI in linux c?? how can be do that?? ...

how to create a window in c

hello i want to create a window,for that i know i hve to use gtk+ toolkit bt how to use it??? ...

How to read directory using jQuery .ajax()?

Using jQuery .ajax() to read "./ex.html" returns the expected contents of the file in the first alert box. Using the same call just changing the request to "./" does not return an expected directory listing in the second alert box. <html> <head> </head> <body> <script type="text/JavaScript" src="jquery.js"></script> <script type="text/...

C++ IDE for Linux with smart reference searching

Is there an IDE supporting C++ with REALLY smart searching of references? By 'reference' I mean usage of a class (or its member), variable, function in the whole Project or Workspace. There's lots of IDE providing it. Some of them seem just to search for the text with same name giving lots of stuff, others are smarter and check the cont...

home-automation x10 with a linux based nas

i have automated my home with the x10 protocol and use the cm15pro interface on my computer to program the switches now i want to connect the cm15pro interface to my synology nas and run commands with php on the nas to the interface are there programs for running the cm15pro under linux on a nas ? and is there a commandline tool for li...

Can we use any feature of linux in our app?

Since Android is built on Linux Kernel.Are there any functionality of Linux which we can use in our application? ...

How can I add a directory to the Perl library path at the system level?

On a standard linux set up, where can I add a directory to the @INC variable? In the /etc/profile file, I added: export PERLLIB=$PERLLIB:/foo/bar export PERL5LIB=$PERL5LIB:/foo/bar Thanks ...

Sending the array of arbitrary length through a socket. Endianness.

Hi everyone, I'm fighting with socket programming now and I've encountered a problem, which I don't know how to solve in a portable way. The task is simple : I need to send the array of 16 bytes over the network, receive it in a client application and parse it. I know, there are functions like htonl, htons and so one to use with uint16 ...