Tagged Questions

Linux is a Unix-like computer operating system assembled under the model of Free/Libre Open Source Software development and distribution. The defining component of Linux is the Linux kernel, an operating system kernel first released October 5, 1991 by Linus Torvalds. Design A Linux-based system is ...

learn more… | top users | synonyms | linux jobs

1
vote
1answer
10 views

number of dentry and i-node

I had the following question on an exam: In a ext3 filesystem the number of dentries is higher than the number of i-nodes. I had to answer with True or False and explain. My answer: It is false ...
3
votes
1answer
17 views

How to quantify the processing tradeoffs of CUDA devices for C kernels?

I recently upgraded from a GTX480 to a GTX680 in the hope that the tripled number of cores would manifest as significant performance gains in my CUDA code. To my horror, I've discovered that my memory ...
-2
votes
0answers
13 views

What is the best practice for mounting storage drives [migrated]

There is a situation: I have two 1.5 TB drives 1st is for backup 2nd is for storage (movies, www, music etc) I am going to make 3 users: storage, backup and obviously real users peter, george etc. ...
0
votes
1answer
23 views

Compile C program using dlopen and dlsym with -fPIC

I am having a problem about a wrong symbol resolution. My main program loads a shared library with dlopen and a symbol from it with dlsym. Both the program and the library are written in C. Library ...
0
votes
2answers
17 views

TCP RST Packet when delaying packets

I am trying to emulate artificial network conditions by delaying packets as necessary (application being emulated is a Java application). The problem which I am facing is, the application detects ...
0
votes
3answers
42 views

sorting a “key/value pair” array in bash

How do I sort a "python dictionary-style" array e.g. ( "A: 2" "B: 3" "C: 1" ) in bash by the value? I think, this code snippet will make it bit more clear about my question. State="Total 4 0 1 1 2 0 ...
0
votes
1answer
17 views

FTP bind to a specific interface

Do you know how to bind the ftp command to use one of my specific interface?
0
votes
1answer
33 views

Reliable UDP implementation design issue

I have been working on a customization around UDP to make it reliable. I have this design problem which I realized only after my entire program was ready and I started sending packets from source to ...
2
votes
4answers
63 views

Create a file as executable program in C in Ubuntu

My program receives an executable binary file through a TCP socket. I need to save this file in to the harddisk as a executable program. File is successfully received but the problem is the default ...
2
votes
3answers
48 views

How to track changes of my Linux distrib with git?

I am experimenting some linux configuration and I want to track my changes? Of course I don't want to to put my whole OS under version control? Is there a way (with git, mercurial or any VCS) to ...
2
votes
1answer
32 views

gdb convenience variable strcat

I want to use convenience variables to collect a list of things. I couldn't find anything about string concactenation of convenience variables. So I tried some things out. check this out: (gdb) ...
2
votes
2answers
76 views

Math.h library functions in assembly x86?

I tried to convert C code that is written under Linux (fedora 9) to assembly x86 code, however, I have problem in a Math.h functions. The functions in this library such as ceil, floor, log, log10, ...
0
votes
1answer
26 views

Getting unmatched ". on a simple csh ssh script

I'm trying to connect to a set of machines using foreach to check whether or not a file exists, however I keep getting the unmatched " error, I've tried plenty of ways and plenty of escape character ...
0
votes
3answers
44 views

Bash script to copy from one line and replace another line with the copy

I am looking to write a bash script for something slightly more complicated than the usual find/replace via sed. I have a book called bash Cookbook that I have been trying to glean some inspiration ...
0
votes
2answers
39 views

WebSockets noob working with Railo

I am admittedly a complete noob in all things server, Linux, and websockets. I finally managed to set up a VM running Apache, Tomcat, and Railo that I could connect to and serve up CFM pages, all the ...

1 2 3 4 5 2094
15 30 50 per page