bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for mvpmarthand

Hi, Is there a command for a user in Solaris 10 should not get deleted. Kindly help me in this issue

0
104
Member Avatar for Amonod

This might be a bit of a silly question and I should probably know this anyway. I have tried searching for it but I have not found anything on this subject(or the more plausible reason, I have not been searching for the right things since I don't know much about …

Member Avatar for Ancient Dragon
0
194
Member Avatar for sureronald

I recently downloaded a live solaris version 10 CD. On booting from CD it takes me to a minimal grub shell that requires me to load the kernel first. I have tried this with the various commands available for the grub shell but nothing is coming. Please assist. /*I apologise …

Member Avatar for forumid123
0
191
Member Avatar for Cudmore

Hi. I've had this problem with all my ubuntu installations (two, to date), and I can't find my way around it.. Even when I switch to runevel 3, by booting with special options or typing telinit 3.. Even THEN, X server starts up, and that's the ONE thing I need …

Member Avatar for EdwinStarr
0
271
Member Avatar for Gonbe

Hello. I'm writing a program in C that should ask for a line of input, and extract the process name and parameters. This doesn't have to be totally bulletproof at this point. An example input could be: "Hello these are parameters". On this example "Hello" would be the string i …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for equinox3133

Fellow members Just bought a 3,06Ghz 27" iMac today and when setting up transferred data from my MacBookPro 15" from external hard disk via Time Machine. The setting of the MacBookPro have now affected my iMac and when I rebooted with the OS X 10.6 disk inserted I got the …

Member Avatar for freshfitz
0
295
Member Avatar for hmadison1984

Hi, this is my first time here and I have a problem. I am trying to write a C++ program in Unix that gives me the Gregorian calendar with exceptions to leap year. I have all of my algorithms for calculating days, printing out the months, and such. My problem …

Member Avatar for WaltP
0
252
Member Avatar for aswin_agarwal

Hello, I have a file say id.dat In this file each line contains only an id number. I have a group of files (say 1.dat, 2.dat, 3.dat,...., 50.dat). There are unspecified number of records in each of them. If any of these records contain any of the id number present …

Member Avatar for thekashyap
0
103
Member Avatar for discovery-power

Hi All, I have not been using unix itself for long I usually just brows the file system via the window ui, now I know how to change directory using the cd command, but how do I move backwords. Say i go to documents/applications, what command would take me back …

Member Avatar for JeoSaurus
0
150
Member Avatar for crazysoul13

Hi I need anybody to help me this command in UNIX SHell Scripting. It goes to a website and take a snap shot and stores it in directory. Thanks

Member Avatar for JeoSaurus
0
127
Member Avatar for monkey_king

Hi I've found a strange problem on ubuntu64bit, that limits the data you are allowed to allocate on a 64bit platform using the c function 'read()' The following program wont allow to allocate more that 2.1gig memory. [CODE=c++] #include <stdio.h> #include <stdlib.h> #include <err.h> #include <fcntl.h> #include <sysexits.h> #include <unistd.h> …

Member Avatar for monkey_king
0
165
Member Avatar for palavi

HI All, I am not able to run a jar file in UNIX. I have a shell script which is throwing this error. [CODE]Exception in thread "main" java.lang.NoClassDefFoundError: dao/Demoface[/CODE] classpath no issues as i am executing all files in the same directory named scripts folder whch has all jars files …

Member Avatar for palavi
0
182
Member Avatar for rwagnes

I am supposed to create a chain of N processes, where N is the command line parameter. Each process creates a child process, prints out its own PID and its parent's PID, and then waits for its child to terminate by calling the wait() function. [B]Here is my code:[/B] [code=c] …

Member Avatar for shakunni
0
262
Member Avatar for samegbe

Any solution to installing SCO Unix 5.0.7 on new range of hp proliant ml370 g6 server? I will appreciate any contributions! Boot time loadable modules and other server resources drivers are required but seem to be unavailable at the moment. Can someone throw some light to help me solve this …

Member Avatar for sboard
0
94
Member Avatar for RexxX

I've never written byte variables on my unix shell before, so I don't know if it works or not. I'd been using unsigned ints to get hex numbers as input but I was having trouble with what my input actually was. My friend told me to use byte variables instead …

Member Avatar for Narue
0
153
Member Avatar for afireinside7710

hey guys, first post. I have a program that takes a file from a windows box, and FTP's it to a unix/linux box. The program works fine, however there is something i want to add to it. I want the program to send 2 commands to the unix box while …

Member Avatar for programmersbook
0
208
Member Avatar for avirag

Hi all I am making a code for folder lock, for that i made a unix code in notepad which makes a batch file of that but i am having a problem in this, when i run this batch file the folder converts into control panel shape.But i want that …

0
162
Member Avatar for Ryyback

Hey all, I am just learning PHP and have pieced this code together, but I cannot get it to work. Anyone have an idea on why? First file is the file contact page. <html> <head> <title>RT Photography-Contact Page)</title> <style> BODY{font-size: 8pt; font-family: Verdana } .button {background-color: rgb(128,128,128); color:#ffffff; font-size: 8pt;} …

Member Avatar for kireol
0
126
Member Avatar for Namibnat

[COLOR="Red"]Note two things: First off, I don't guarantee that it works well. Writing to files, if done wrong can always break things. Be careful. I mostly participate in this forum (the Python part) for fun, and my code is written like that. Second: this script is about copying things. I …

Member Avatar for Namibnat
1
924
Member Avatar for discovery-power

Hi All, I recently made the move from Windows to Mandriva Linux 2010, in Windows I used an IDE to write my code then build my projects, in Linux I cant find a suitable IDE im really struggling to build my projects. Now I can write my projects in kwrite …

Member Avatar for discovery-power
0
134
Member Avatar for halluc1nati0n

I have trouble understanding the compilers. The following code does work in UNIX under g++, but under VC++ it would not even compile. Anyone can provide valid reasons why? [B]Code:[/B] [CODE]#include <stdio.h> #include <iostream> #include <string.h> using namespace std; int main() { string tmp_nw_msg, crc_chksum, buffer; cout << "Enter the …

Member Avatar for Nick Evan
0
317
Member Avatar for wolverine_ramir

I would like to know how do i create a flat file from a query in oracle. For example i would like to create a select statement and the output to the flat file should be like this: name,location,address ...... Later on, this task will be embedded in a unix …

Member Avatar for debasisdas
0
125
Member Avatar for Mattpd

I officially have the worst C professor in the world. The guy hasn't answered my email in weeks and I don't have a class meeting before this assignment is due, so I have come here for some help. If anyone could point me in the right direction any part of …

Member Avatar for Trad
0
224
Member Avatar for imclumsy

Hi guys, I have this project question that is just REALLY boggling me and I am getting nowhere :( The project description is really large and I can't post all of it hear but I'd just like to post the part I'm on and how far I've gotten with the …

Member Avatar for imclumsy
0
169
Member Avatar for cabosun

So I have two MAL programs that I am getting 2 errors in each of them. I am using xSpim on unix to run this program. I wrote this using the windows version PCSPIM which compiled the program and ran it flawlessly. But when I tried to run it using …

0
94
Member Avatar for newsguy

There is no doubt that the current server market environment is the worse it has ever been, but a new report from IDC suggests that the worse may be over as the market posts sequential quarterly revenue growth for the first time since 2008. The [URL="http://www.idctracker.com"]IDC EMEA Quarterly Server Tracker[/URL] …

0
650
Member Avatar for Voulnet

Hello all, I am a Computer Engineer, fresh off graduation, and I would like to educate myself on a broad range of technological fields and aspects. I am the kind of person who is easily distracted while reading from a screen, and so I would like to ask fellow daniweb …

Member Avatar for Voulnet
2
210
Member Avatar for Yeen

I've got a bit of a problem. I've got a test tomorrow in python programming, and I've been learning the language using 3.1. The computers we're taking the test on all have 2.6 installed. They're Linux (not very familiar with Unix). Obviously this is troublesome. I don't want to spend …

Member Avatar for Yeen
0
177
Member Avatar for roswell1329

My company is retiring an online document warehousing application that stored lots of text data. The application stored the data in a folder hierarchy that looked just like a Windows folder tree. I'm trying to replicate that hierarchy on a UNIX file system, but the tools provided with the application …

Member Avatar for roswell1329
0
111
Member Avatar for Prahaai

Good day. I would need an advice about sys.stdout and sys.stderr. I use Python 2.6, on Windows XP SP3, but i think the question is the same for UNIX/ MAC computers. I tried all possible combinations before posting this message, so ANY advice would be great. I work with "subprocess" …

Member Avatar for Gribouillis
0
372
Member Avatar for ryy705

Hello, What permissions should PHP files have on a unix/linux system? Is 655 appropriate? Many thanks in advance.

Member Avatar for Member #120589
0
91
Member Avatar for liamfriel

Hey Guys, I am using an Ajax Image uploader, which for a while worked - but now does not. I was wondering you guys could help me figure out what is wrong. The site is on a host and I have set up a ticket - but I would also …

0
134
Member Avatar for khess

According to an ongoing debate over the GPL version 3, he does. How can this be, since Linus Torvalds, creator and chief architect of the Linux kernel, knows about software freedom and free software? He doesn't have a problem with what Richard Stallman refers to as "tivoization," which is the …

Member Avatar for Seten
0
1K
Member Avatar for khess

I've done a bit of research on Windows 7 Enterprise to discover some of its new features and to uncover its secrets. From what I've seen so far, [URL="http://www.microsoft.com"]Microsoft[/URL] has provided some interesting Linux-esque features that might accidentally boost Linux adoption as a side effect. The two primary features to …

Member Avatar for MikeAinOz
1
735
Member Avatar for TheBeast32

Hi, I installed cygwin recently and wanted to do some network programming with it. Since I have never used unix sockets before, I'm reading Beej's Guide To Network Programming. I took this from section 5.1 and tried to compile it. I get a few errors that I can't figure out …

Member Avatar for developer_borja
0
727
Member Avatar for naziatarannum

Hi all, I have a simple question as it appears. But am unable to get the solution. Question is -how do I get the access time of a file in unix. please advise on the command. Thanks

Member Avatar for Aia
0
122
Member Avatar for ruwanaru

This is the error [CODE]Warning: Cannot modify header information - headers already sent by (output started at /home/rejocoma/public_html/login-registor/do_login.php:9) in /home/rejocoma/public_html/login-registor/do_login.php on line 40[/CODE] and this comming only on my hosting not in local machine ita unix hosting solution can any one give me a help on this im a new …

Member Avatar for venkat0904
0
132
Member Avatar for titanseagle

Hi everyone, I am having a doubt... how to create our own linux distro?... I came to know that about 12 new linux distros are released every week. I like to have the procedure of How to release our own linux distro and where to start... There are no such …

Member Avatar for Ying_Yang
0
152
Member Avatar for cabosun

So I am suppose to write a program that will implementing one method if computing checksums for a file containing integers. I am executing the program by a command line from the following form: p4a inputfile outputfile I can compile the program in Dev C++ compiler with no errors. But …

Member Avatar for gerard4143
0
93
Member Avatar for katharnakh

I am facing problem connecting problem connecting remote MySQL server which is firewall protected. I used the valid user name and password, but it throws me the error [I]OperationalError: (2003, "Can't connect to MySQL server on 'www.myreomtemysqlserver.com' (10061)")[/I] I want to connect from python. I searched in Google is there …

Member Avatar for wendymclee
0
297
Member Avatar for web3

I have a folder and i can't paste anything or save anything in it. Can i change permissions in terminal?

Member Avatar for Crash~Override
0
193
Member Avatar for PopeJareth

Can Someone tell me why these files won't compile on unix but work fine (mostly) in windows? It looks like unix-land doesn't load the variables from the inherited class QueueArray into the proper scope. prog5.cpp is supposed to create 3 different types of Deque classes. each Deque inherits from ArrayQueue …

Member Avatar for PopeJareth
0
289
Member Avatar for *nix

i am new to unix. i have written a code for testing the basic functions read / write and open i have read that read/write returns the no of bytes read/written but here my write is returning 1 and read is returning 0 no matter how many chars i write. …

0
57
Member Avatar for symmet

Hi, I'm trying to create a simple shell in C for Unix. I've been able to do all the parsing of commands and execution, but I'm having a problem with piping. I think the problem is that I'm not hooking into the correct pipe for the input of the second …

Member Avatar for gerard4143
0
193
Member Avatar for chandini.david

Hey!! I'm trying to use the nohup command in background mode (i.e. with the '&' at the end.) When I generally run the program, I use the command: ./xyz "argument 1" arg 2 arg 3 arg 4 > output.txt This works fine. Even when I append nohup to it, i.e. …

0
160
Member Avatar for jerrytouille

Let's start with 1 pipe such as ex: "ls | grep hello" What I'm trying to do is to split the *args[] into 2 that one contains "ls" (left-of-the-pipe command) and the other contains "grep hello" (right command) -> so I can execute the child pipe as producer and parent …

Member Avatar for jerrytouille
0
235
Member Avatar for deven1974

Can anybody help me with a unix script project that I have no clue on starting it, and also I 'm not that much familiar with unix scripting. Don't get me wrong have little bit experience with Linux, but when comes to script I'm just a beginner. If any someone …

Member Avatar for ithelp
0
109
Member Avatar for axed

Sorry for a duplicate post. The other post had gotten messy and since I was not allowed to delete it, I am starting a new post. Hi, here are the errors I am getting when i compile on cygwin. It is weird that the code compiles and runs perfectly on …

Member Avatar for axed
0
222
Member Avatar for rudz

plz plz urgent im a beginner in unix. can someone reply asap . what are kernel modules?what role do they plan in building and runnig a kernel?what happens if the linux kernel did not support modules?

Member Avatar for rudz
0
149
Member Avatar for jerrytouille

Hi, I found this website is very helpful since I'm a newbie in Unix and C++ coding. Can't wait to ask questions :D Thanks!

0
23

The End.