1,293 Topics
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 …
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 …
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. …
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 …
;) Hi there... How do you get java applet to instantiate(execute) an application. like a Unix terminal for instance... :twisted:
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 ??
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 …
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 …
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,
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??
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
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 …
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 …
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 …
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 …
[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 …
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 …
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.
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 …
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 …
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 …
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 …
how do I use the find command to only search in my current folder (and not any subdirectories)
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 …
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 …
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 …
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 …
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 …
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 …
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. …
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 …
[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]
[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 …
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 …
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 …
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 …
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]
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 …
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 …
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. …
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?
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 …
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 …
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 …
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?
c program to find smallest among three numbers without using comparsion operator C program for the simulation of unix grep command
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 …
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
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 …
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)
The End.