bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for harrypotter

Please tell me how to do unix system programming in C in windows. Is there any c editor which contains all header files required for unix system programming in windows? Please tell me. There is a problem in installing linux in my system. but there is a need for me …

Member Avatar for Lord Soth
0
207
Member Avatar for nanosani

I am using FreeBSD 6 ... and I use putty to remotely login to FreeBSD ... But the problem is that I can login with all my logins except the root ... when I login through root it gives me an error : server sshd[500] : error : PAM authentication …

Member Avatar for nanosani
0
228
Member Avatar for joshuatree

Hi all, I have a problem with my implementation of a unix shell, I'm hoping someone can point me straight... In my shell program, I collect and parse a user's entry from the command line and dump it into an array like `getopts()`. I then call `fork()` and `execvp(args[0],args)` (`(i.e. …

0
93
Member Avatar for butterflyTee

Word Count. A Common Utility On Unix/linux Systems Is A Small Program Called "wc." This Program Analyzes A File To Determine The Number Of Lines, Words, And Characters Contained Therein. Write A Version Of Wc. The Program Should Accept A File Name As Input And Than Print Three Numbers Showing …

0
105
Member Avatar for Tlhokomelo

;) Hi there... How do you get java applet to instantiate(execute) an application. like a Unix terminal for instance... :twisted:

Member Avatar for Rashakil Fol
0
127
Member Avatar for nanosani

How can I bring the GUI mode of FreeBSD. In Linux (RedHat) I can just press Ctrl-Alt-F7 and the GUI comes up ... but FreeBSD doesnt work that way ... so how does it work ??

Member Avatar for alc6379
0
279
Member Avatar for Prestwick

Hello all, Essentially a newbie to shell scripting (and Unix/Linux as a whole!) Essentially doing this project for my year in work placement. Essentially it is a script which searches for specific files and backs them up to tape. However I need to modify said script so it can verify …

Member Avatar for Prestwick
0
220
Member Avatar for kharri5

I know I've been posting a lot into this forum with questions that might seem....dumb, but I am learning a lot actually from those questions and the help I've been given. Many thanks( mostly to Rashakil Fol. I salute you sir!) The latest and greatest problem, is that I'm not …

Member Avatar for kharri5
0
146
Member Avatar for Subterraneus

I'm trying to re-write some of my shell scripts with C++ and I want to use some Unix commands, but I don't really get how, all the information on System() is just confusing to me...so any help would be great,

Member Avatar for Subterraneus
0
171
Member Avatar for extofer

I got my hands on Cygwin Bash Shell, it's suppossed to work as a Linux Shell on Windows, so shouldn't it be able to run the same bash commands??

Member Avatar for alc6379
0
161
Member Avatar for diddle

How to store the result of find command in Shell program? I want to store if found then result = 1 else result =0. How to set the result ? My code result = $ (find . -name "doll" ) Can anybody help me? ps. tcsh in cygwin

Member Avatar for diddle
0
162
Member Avatar for debunix

Hi, I have the following task to perform using shell script. The user will provide a [B]directory name[/B] along with a [B]date[/B]. The script will delete all the files in the specified directory that was created earlier to that date. Also it should display the number of files that has …

0
76
Member Avatar for kharri5

So I have asked a couple of questions already about this shell programming, but I have another yet again. I'm not sure why my times function in this program isn't reporting the time right. It always says that I have 0 seconds of time for a process or some giant …

0
98
Member Avatar for kharri5

So I have to make a UNIX shell that can basically take in any UNIX command and then keep a record of the time each process took, by forking off children processes, recording their time, and recording the parent's time, and then return that time into a linked list or …

Member Avatar for kharri5
0
187
Member Avatar for artstar

Hi, Since upgrading to OSX 3.9 , my mouse and keyboard constantly freeze. I suspect a conflict, but FirstAid and the CD's Utilies ( AND the consol fsck -y search find nothing. It MAINLY happened online and/or when using MSWord 2001. I recently added Firefox and Thunderbird and the freezing …

Member Avatar for grrroundy
0
403
Member Avatar for Dani

[b]Handy Linux User Commands [/b] [b]../[/b] represents one directory higher [b]cat filename[/b] display file contents [b]cat stuff1 stuff2 > allStuff[/b] combine files [b]cat someStuff >> allStuff[/b] append to a file [b]cd dirName[/b] go into the directory dirName [b]chmod [permission mode] file[/b] change the permission of a file (4=read, 2=write, 1=execute …

Member Avatar for jackfusion
0
617
Member Avatar for xcalmet

Hi, I have a problem with my powerbook G4 (12 inch). MacOS 10.3 will not boot. I used the cd included with the mac to check the hardware. Everything seems fine. On the other hand the disk utility program found many problems that it could not solve. I thus tried …

Member Avatar for gortonsfi
0
180
Member Avatar for kriss183

There is a good collections of links to Unix/Linux related websites at [url]http://citrix.50webs.com[/url] but not very well organised though.

Member Avatar for Dani
0
136
Member Avatar for jbennet

My Faves are X.org, XDM and WindowMaker - simple yet productive. Personally XFeree86 is to old, KDM too flashy and ICEWM is just horrible. GNOME is good as its like the mac or WIN2K in that its simple, sleek and fast. Its also good for people with disabilities. KDE has …

Member Avatar for jwenting
0
177
Member Avatar for jnebab

Hello! I came across daniweb.com from googling a problem I was having with .htaccess. The link actually helped with issue I was having so I decided to join in the group and hopefully will be able to help others in any way as best I can to return back to …

Member Avatar for mastermind_SEO
0
66
Member Avatar for emailsrs

I have used arrays in the program; a[3] - now i want to change the program to dynamic array value If I enter more than allocated(3) characters in the input - it throws error and the program stops running error "Segmentation fault" (i am running c on unix) - i …

Member Avatar for SpS
0
127
Member Avatar for darklord

What I am trying to do is to scan a text file word by word and find all words of 4 character or less then output these words to a file, but the problem is I don't know a unix command that can scan the file this way. The Grep …

Member Avatar for jim mcnamara
0
168
Member Avatar for paradox814

how do I use the find command to only search in my current folder (and not any subdirectories)

Member Avatar for alc6379
0
154
Member Avatar for akshayabc

Plz answer to my C doubts:- 1) Why do prototypes of some predefined functions in ctype.h(ex- tolower(ch)) has 'int' as the data type for formal arguments? How will it matter if the formal arguments r of type 'char'? 2) Is there any command in DOS for viewing the non printable …

Member Avatar for Ancient Dragon
0
357
Member Avatar for diddle

I would like to sort the temp.txt contains like the following. 1_r0.png 1_r10.png 1_r100.png 1_r105.png 1_r15.png 1_r150.png 1_r155.png 1_r160.png 1_r20.png I want the sorted result to be 1_r0.png 1_r10.png 1_r15.png 1_r20.png 1_r100.png 1_r105.png 1_r150.png 1_r155.png 1_r160.png like the above. Anybody can help me? I used sort -n temp.txt sort.txt But …

Member Avatar for dwks
0
101
Member Avatar for winbatch

I have developed a set of libraries/common classes that I use in all my apps (this is on unix), and compiled them into a shared object (.so). Then, when I compile my individual apps, I link the library with the executable with -L /libs/ -l mylib . When running any …

Member Avatar for winbatch
0
269
Member Avatar for Wolfy

I have these two projects due tomorrow for extra credit in my Unix class and I have no idea how to write them. I really need the extra credit to bump my grade up a little. Any help would be greatly appreciated. Here are the descriptions: Project One: A) Create …

Member Avatar for jim mcnamara
0
121
Member Avatar for alex05

Write a script named killdup. The script sorts all the lines in a file supplied to it as the first argument, and removes duplicate lines. The script stores the resulting output in a file whose name is given by the second argument. I know how to sort it, but how …

Member Avatar for jim mcnamara
0
362
Member Avatar for gn0m3

I have been using knoppix for data recovery and forensics work for about 6 months (on and off ). I want to install it onto a P3 machine i have. What i want to know is how easy it is to install stuff like my Broadband modem and get the …

Member Avatar for gn0m3
0
168
Member Avatar for corinne1985

I am taking a complex exam for school and I have different programming questions I need help with. Any help will be appreciated. Thanks! Here they are: 1) A company with limited cash needs to bring up a Web server. Which OS/Web server combination has the lowest initial cost? A. …

Member Avatar for corinne1985
0
187
Member Avatar for stupidenator

Hi everyone, I am having trouble with a prgram that simulates Conway's Game of Life. I cannot get the program to run past a few generations. I think I am having trouble with the countNeighbors() or the genNextGrid() functions that is causing the game not to function properly. Anyone have …

Member Avatar for Ancient Dragon
0
191
Member Avatar for ! !

[color=navy]After twelve years of development, the Wine Project announced Tuesday night that its software to run Windows applications within Unix is entering the beta phase. The group acknowledged the program still has bugs, but asked those interested to download and test out the application.[/color] [url="http://www.betanews.com/article/Wine_Reaches_Beta_After_12_Years/1130338797"][color=navy]http://www.betanews.com/article/Wine_Reaches_Beta_After_12_Years/1130338797[/color][/url] [url="http://www.winehq.com/"][color=navy]http://www.winehq.com/[/color][/url]

Member Avatar for >shadow<
0
293
Member Avatar for ! !

[color=darkgreen]Microsoft's Steve Ballmer — the CEO of the Redmond, WA-based company gave some details on how Microsoft plans to win the hearts and minds of buyers who are thinking about going with Linux instead of Windows. [/color] [color=darkgreen] According to Ballmer, Microsoft is only winning about 25 percent of the …

0
96
Member Avatar for scotchfx

Greetings, I'm a former hardware guy (embedded C & C++ experience mainly) trying to get up to speed with Java and Perl for a set of graduate courses. I've written up a Perl script that simulates a scheduling algorithm, the script consists of two primary loops the first to parse …

Member Avatar for andrew23chan
0
190
Member Avatar for peter_budo

Short and simple, I installed Windows XP and Solaris 10 on same disk in order to create same development enviroment like at school where we use Solaris in our labs. I got new hard disk because old one was small. Firstly with use of XP instalation CD I created partition …

0
181
Member Avatar for drummerboy

im seriously thinking about installing knoppix to my hdd i was gonna partition my C: drive. But im gonna purchase a new hdd in the near future and install linux on that. After gathering info to go about this ive found i need a grub or lilo for dual boot …

Member Avatar for SaraSD
0
1K
Member Avatar for alex_extreme

As you may have seen on the DaniWeb homepage, Linspire is currently available for free. I took the opportunity to review it, so you can read my thoughts on it [url="http://www.tuxtalk.org"]here[/url]

0
186
Member Avatar for fragmented_user

To Anyone Who might be of assistance: Before I begin I would like to . (1) Declare that I understand that no, one member of the Free linux comunity, has the obligation to answer to anyones request for aid unless they so desire, or are being paid (2) Declare that …

Member Avatar for alc6379
0
317
Member Avatar for jusCk

What I'm needing to do is set up a Login mechanism for My Website, The Login Page can be found at http://cksPlace.dns2go.com But it's from My last set up using only a FTP server, and AnalogXs' Simple Server. That's when I was running on an ole 98SE box, and it …

Member Avatar for jusCk
0
411
Member Avatar for kris.poorbaugh

Everytime I start Photoshop, just as the intro window closes, it crashes with the message "Unable to initialize photoshop because of a program error." When I log in as another user, however, this doesn't happen. I've reinstalled multiple times to no avail. I'm trying to avoid a total system reinstall. …

Member Avatar for kimberndtsson
0
284
Member Avatar for nik-

i try t set up a variable environment but i have problem. as root i do "name variable"=name variable; export name variable; PATH=..... but when i do reboot the variables is not there.i don't know how to save a variable. Do yoy have any suggestions?

Member Avatar for mittelgeek
0
76
Member Avatar for senexom

I'm not sure if this is even possible, but does anyone know how I might be able to trap Print Action. Would prefer a cross platform solution like Java or something, but it absolutely has to work on a Mac (Unix). What this is intended for is for a small …

Member Avatar for senexom
0
168
Member Avatar for turnbui

When I log-in under my id and in a Konsole type:- [ian@turnbui ian]$ smbclient -N -L NICK -I 192.168.1.2 -W WORKGROUP the command works fine. However the same command is spawn'd by Xsmbrowser yet it fails with the fllowing from Win-XP:- Error returning browse list: NT_STATUS ACCESS_DENIED "spawn exports the …

0
100
Member Avatar for vijmen

Hi I am a newbie to php, having worked more in java. I am trying to write a php script to upload images to a directory. This works in windows but when I test it on a unix box, there seems to be no error message but the file does …

Member Avatar for namit
0
137
Member Avatar for Rearden

Hey, I've been using linux forever and want to start dual booting slackware and BSD. I've heard that Slackware doesn't like this very much and was wondering if anyone has any experience with this type of setup?

Member Avatar for alc6379
0
256
Member Avatar for lax_irtt

c program to find smallest among three numbers without using comparsion operator C program for the simulation of unix grep command

Member Avatar for Narue
0
144
Member Avatar for Cr4nberry

Hi there I have a problem with my crontab. This is what it happens: I have a hosting in a server and can't use the crontab for the hosting user. I get this error: [B]bash: crontab: command not found[/B] Afortunately I can log in with root account. I know I …

Member Avatar for ilaiy
0
235
Member Avatar for gpta_varun

Hi All I am trying to install MOzilla on a tru 64 unix system . This requires the use of 'setld' command . Now thw problem is theat i don't have the root access . Are thge root permissions a must for installation ....???? PLz help Best regards VArun

Member Avatar for DMR
0
159
Member Avatar for kashif07

Dear Friends i want help about the Simulate a Linux/UNIX shell, called MASH (for MiniAture SHell) in the C. plz read the the my problem and send the best solution of my problem as soon as possible. Objectives: After the completion of this assignment you’ll be able to: Simulate a …

Member Avatar for Dave Sinkula
0
398
Member Avatar for ep2002

Hi there, Does anyone know anything about Solaris & whether it's easy enough for a non techi to install, operate, how stable it is, pros cons etc.? Thanks Michelle P.S. There is no Solaris section LOL (yet)

Member Avatar for alc6379
0
98

The End.