3,685 Topics
Hi everyone! I have a task that needs to be made in C in Linux. I use Kubuntu. This is the task: Process (coordinator) creates 10 working process (pool of processes). The working processes are waiting to be awakened by the coordinator, perform a job and wait again. The coordinator …
Hi all guys, I have a THD PX1, it has win 7 and supports multitouch. And I am new to Linux, but I am an expert in android. I made some researches on different distro of Linux. Can anyone suggest me any distro that can work on this tablet? I …
Hello Everyone, Thanks for the Welcome! My reason for joining? Well I always find Daniweb from search results whenever I'm looking for solutions to queries about weird files on my laptop or just about any issues relating to the computer and technical stuff. And most of the forum topics are …
Hello, I'm building a new machine, but I've hit a road block. Perhaps someone with more experience could answer my questions. My road block is I want to build a computer that will last me for the next few years. That I can use for software development on multiple platforms, …
Hey Guys, I am trying to figure out how Linux determines whether an object in directory is a file or folder. There's got to be a property (I am guessing in Stat) that Linux references from which lets it know quickly. It's hard to find information on google because when …
Hi, I am a new users to Linux and I am using Ubuntu 11.04. In my laptop, I have two logical drive C:\ and D:\. I have installed Windows XP in C drive and Ubuntu in D drive. From Ubuntu, I can mount the C drive and can access the …
are there any conditions for running the groupadd command via the command line? i have been trying it like this: [CODE]groupadd mysql[/CODE]and i'm getting the following error [CODE]groupadd: cannot lock etc/group; try again later [/CODE]
Dear All, I have C programme where I want to make it run as a service under centos 5. How to run and monitor if there is any errors?
Sir, Kindly tell me what is the library name for the c++ in linux. I know for c it id libc.so ,,similarly for c++ what is the library name and how can i get it for my linux. I wrote a simple c++ program and executed it is working but …
Hi folks, I'd Windows 7(sda1) and Ubuntu 11.04(sda6) on my laptop. Ubuntu's grub was installed on MBR. Then I installed Fedora 15(sda2). But by mistake I installed Fedora's grub on MBR. Due to this Ubuntu's grub deleted from MBR. Now while booting I can see only Fedora and Windows option …
I am setting up a samba server. When I place the folders that Samba will use inside of the /tmp folder, everything works fine. However, when I try to use a directory that I created, it will not let me access it from another computer. I have given public permissions …
[B]Introduction[/B] Many people might wonder why you would want to compile source code. After all, most Linux programs can be had by simply opening up their favorite package manager and clicking "install". The package manager does the rest. However, there *are* reasons why you would want to do this. For …
Hello! I am currently looking for some help or ideas in a specific area of Python programming. The project I am having problems with pertains to python print drivers, and printing in a Linux OS. I had originally wanted to find a way (if possible) to write a python print …
Hi Guys, Im actually assigned a task and in a nutshell i have to implement cache coherence on Android. Now I have messed around with system calls and threads, etc on Linux Ubuntu, but I have never accessed Kernel level Processes or changed protocols before, so im facing a bit …
Can anyone tell me how exactly does copy_from_user work....i mean other stuff apart from the checks tat are made regarding passing of valid addresses...etc...is there a VM mapping done....
so my question here is when the parent exits before the child process...in linux....the reparenting is done within the same thread group rite!!??? ...and wots the role of the reaper..i mean after you find a suitable parent task..why is this reaper API called..
input and returning the input: output. Here is the assignment In the session, provide a command prompt that includes the working directory, e.g., $./logger /home/it244/it244/hw8$ Accept user’s commands, execute them, and display the output on the screen. During the session, create a temporary file “PID.cmd” (PID is the process ID) …
how many stacks does the kernel maintain/keep track of...say if there are 12 kernel threads and around 50 user processes??
I want to set up LAMP on Virtual Box on Windows7. I am wondering if it is possible to (regular cable modem from ISP connected to desktop through ethernet port, dynamic IP) 1) Connect from Windows7 to Linux (Apache, MySQL-server, etc...) 2) Connect from Linux to the Internet 3) Connect …
I have two NIC Card in CentOS Operating System. Configuration : (Modem)Router IP = 192.168.1.254 [I set modem as bridge mode] eth0 : 192.168.1.2 ------ LAN IP Mask : 255.255.255.0 GW : 192.168.1.2 eth1 : 210.211.251.230 ---- Public ID [Static IP] MASK : 255.255.255.0 GW : 210.251.251.1 I want to …
i have recently migrated to Linux Ubuntu from Windows. how do i install software using source code
I am working on Hand Gesture Recognition System and I want to generate keystrokes for any application using gestures as input. But i am not getting any idea that how can i make this work on both Linux and Windows platform, as keybd_event is there for Windows but it doesn't …
i am using windows 7 OS on my laptop. But i want execute the program which have command line arguments. which are linux based. so what can i do??? there is any software available which run windows TC as well as linux VI editor i.e terminal?? :icon_question:
description of the program: 1. first i have to input a folder A by giving full filepath. this folder contains a benchmark program tcas.c, a text file universe.txt which contains 1500 lines, each line is a test case giving 12 arguments to the benchmark program, which are used to test …
Please help me how semop() w.r.t semval works in LINUX when semop=negative,positive,zero.... what is absolute value ? is it the modulus value or the just sum ? will the value keep on increment as we keep on changing value for semop,semval. in one program ?
Dear All, I have now better understanding of what chroot is about. I have read few link as below. [url]http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/[/url] [url]http://joedonner2001.wordpress.com/red-hat-el3/sftp-server-within-a-chroot-jail/[/url] My problem now is do I need to upgrade the openssh first in order to control acces to my server? Secondly there are few different methods confuse which is …
Hi i had a several reseller account in the past and all one the time one of the go hacked and completely mess up my stuff an put stupid pictures instead of my site. I tried everything from changing user name and pass putting something longer but dont know how …
Help me to choose between Back|Track 5 and BlackBuntu pls... what are the differences
Hi I have a lot of photos in a lot of folders (all under the /stars folder) and every picture has a thumbnail, too. The thumbnails have a '_t' in their name, like this 'picname_t.jpg'. What I'd like to do is to delete all the thumbs ('*_t.jpg' files) recursively, using …
Hello! I need to ask password to user, to get administration rights for my java application when it works under linux (or any POSIX). Can someone help me about that? Thank you!
I have installed SQLPlus on my ubuntu 10.10 and now I want to install Oracle server.. I was following a tutorial on that and at the end of it, I got lost because I don't have access to certain files that were mentioned in the tutorial and I changed permissions …
Ok pretty simple: How to make internal speaker beep on Linux. For personal use does not need to be portable. I know I have an internal speaker... BIOS loves that thing...
Hi Ok guys I'm trying to make my own environment variables but it's not working , please help me with this . Also please don't give me a link to something you got by googling , because i can search it myself but i need some simple explanation .
I have a EEEPC (small notebook runnning Linux natty nahwal. I also have a USB 2Gb key formatted in EXT3, which shows up in the file manager and on the desktop when inserted How can I use the usb for installations of programs? (how do I tell them where to …
Dear All, I am currently using centos 5.5. My problem is for eg.I have user Adam. So when Adam logs in via SSH/SFTP I want to limit his view on the server folder meaning he can only see a certain limited folders. Any good tutorial for a newbie like me. …
I am currently creating a queue ADT for one of my classes in college. We are using a linux ssh server for compiling our programs, but i am writing the code in windows. When i compile i get no errors, but when i run it goes fine until it hits …
hello every one I have a problem that drove me crazy last couple days I know I have to use loop structures but I can't figure out how to put the right pieces together. I'm not asking for a complete answer because I want to learn so please help me …
Hello I need to rename a folder within / inside a ZIP file, preferably without extract it and compress it off-course. How can I do this (only with free help stuff if needed) using Linux command ? Thanks
Hey all Today I bought a acer aspire one. Its great but I don't know how to install software on it, i found this site and many like it [URL="http://www.laptopmag.com/advice/how-to/aspire-one-apps.aspx?"]http://www.laptopmag.com/advice/how-to/aspire-one-apps.aspx?[/URL] but where it tells me to enter the command [QUOTE]xfce-setting-show[/QUOTE] the terminal comes back with [QUOTE]env: xfce-mcs-manager: No such file …
My Deskyopboard is Intel classic series DG33FB > It supports only Windows Vista and XP. But I had installed Linus(Fedora) a few days ago. But bhow is it possible? Please reply.
A program that accepts two positive integer values x and n, and uses a function to calculate the value of x raised to the power n. The function should calculate power by repeated multiplications. The result should be returned to the main function and displayed. I use linux terminal to …
I bought a little over 20 d51s's and I am trying to get the most money out of them, but am not sure where the current market is for these kinds of computers. Background: They all are P4 2.4GHz,1 CD-ROM,1 Floppy drives, most do not have ram, none of them …
I am very new in Linux. I only set up it. Which one is best for me for practicing basic application in Linux? I have set up Fedora 15.
Using LINUX MINT along with XAMPP seems to be a perfect combination. As I am monitoring most of relevant aspects from different fields (PHP, apache, MySQL, disks, network amm.) there is a question from my side regarding interrupts: [ICODE]cat /proc/interrupts[/ICODE] Why so many RES rescheduling interrupts ? I am complaining …
Hi. In my bash script I have a loop which downloads a few files in the background with 'wget'. How can I make my script wait until all downloads are complete before it goes on? I guess I have to use the 'wait' command after the loop in some way? …
Hey, so I'm having some difficulty getting my make file to work. When I try to make, I get this: [CODE]andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ ls Makefile Makefile_old semaphore.c andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ make make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/andrew/Documents/OS_Projects/Chapter 6 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' make[1]: *** No rule to make target …
Can any one say what is the difference between the Desktop edition and server edition of Linux ( such as Fedora Desktop and Fedora server edition ).
I've got Open SUSE 11.4 and Ubuntu 10.10 now installed on the same machine now, but I need to edit the GRUB so I can boot into them. I can boot into OpenSUSE fine, but since it overwrote the Ubuntu bootloader, I can't seem to get it to boot into …
Requesting all the networking/DNS experts out there. I understand that DNS forwarding with port is not possible but I think there has to be something out there to solve my issue: Here is what I want to do: 1. I have a service provider who has a server in a …
The End.