Is there a command line I can run to determine what version of Mono I am running on Linux? I am using Ubuntu and I it is command line only (no X Windows installed).
I am writing a JIT on ARM Linux that executes an instruction set that contains self-modifying code. The instruction set does not have any cache flush instructions (similar to x86 in that respect).
If I write out some code to a page and then call mprotect on that page, is that sufficient to invalidate the instruction cache? Or do I also need to use the cacheflush syscall on those pages?
I have a Linux bash script 'myshell'. I want it to read two dates as parameters, for example: myshell date1 date2. I am a Java programmer, but don't know how to write a script to get this done.
The rest of the script is like this:
sed "s/$date1/$date2/g" wlacd_stat.xml >tmp.xml
mv tmp.xml wlacd_stat.xml
Hi,
I am learning some embedded programming. I am using Linux as my platform and I want to create a daemon program that will check if a particular device(magstrife, keypad, etc) is active. Like for example, my daemon program is running in the background, then when I make a keypress event, my deamon app will do something.
What implementation should I do to create this app? And how can I check the event of the devices?
Thanks.
I ordered a server for the home office and I would like to partition it with Xen. I think this will keep things clean and easier to maintain. I will be running things like MySQL, PostgreSQL, Tomcat and my own code on this machine.
My question is: what freely available Linux distribution has the best Xen hosting facilities?
Hi,
What are the testing methods for a Linux filesystem? Please provide example scenarios.
I am wondering why my other questions were closed. I think it's a valid question.
Hi,
Is there an authentication plugin for rails which uses the host system's /etc/passwd file to provide user/password information? The goal is to provide user login to a rails app for the same users who already have local login accounts to the linux machine hosting the rails app.
Cheers.
I am running Linux-2.4 system, and I am attempting to retrieve hard drive diagnostics information, any that might be available. Is there a way that I can retrieve these hard drive statistics?
Tools such as MRTG provide network throughput / bandwidth graphs for the current network utilisation on specific interfaces, such as eth0. How can I return that information at the command line on Linux/UNIX?
Preferably this would be without installing anything other than what is available on the system as standard.
I'd like to gain better knowledge of operating system internals. Process management, memory management, and stuff like that.
I was thinking of learning by getting to know either linux or BSD kernel.
Which one kernel is better for learning purposes?
What's the best place to start?
Can you recommend any good books?
Are there any good OOP languages that you can use on Linux? Obviously Java comes to mind, even running C# under mono.
Looking for a language that can be used for all round development, web dev, desktop, services etc.
Besides Mono C# and Java anything else come to mind?
I'm writing a Linux kernel module, and I'd like to allocate an executable page. Plain kmalloc returns a pointer within a non-executable page, and I get a kernel panic when executing code there. It has to work on Ubuntu Karmic x86, 2.6.31-20-generic-pae.
How do I print coloured characters to a Linux terminal that supports it? I'm using C++ for this program, but I think that might be irrelevant.
EDIT: And secondly, how do I tell if it supports colour codes?
I once heard of a guy managed to install original Microsoft .Net Framework on Linux and successfully run Mono-incompatible .Net applications using bleeding-edge MS C# features. Any idea how could he do it?
Hi, i have a php web application.This application works on windows server but doesn't work on linux server.I think this is about php.ini or file permissions.Whta can be other reasons for this situaion?What must be the basic php.ini configurations for this situation?Thanks for advance...
Is there a way to take my C++ code and cross compile it to run on Windows, Mac OS, and Linux? Is there a tool to do this, or does it have to be manually compiled on each OS via Terminal/Cygwin?
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"
Hello friends,
I have an array of strings..
I want to calculate the MD5 hash of these strings and want to store them in another array using Crypto.h library in C++ in Linux...
So can anyone tell me how to do it?
give some exapmle or sample code..
I'm a blind student currently in a system admin/shell programming class. Although ssh works fine for executing commands like ls, pwd, etc editors do not work well with my screen reader and an ssh session. I was wondering if it is possible to mount a Linux folder over ssh so it appears as a windows drive? This way I could edit any files I needed to with accessible software and not have to constantly use SCP to send files back and fourth.
I just read this (one) study in which Tomcat under Linux outperformed Windows.
From your experience, is this generally true? Any deep reason that could explain the performance difference?
How can I port an application based on OS X to Linux? It is closed source and working in Windows either. It is not wrriten in Objective C and doesn't use Cocoa.
Thank you.