1,446 Topics
![]() | |
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. | |
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 … | |
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 … | |
Hi, I recently wrote a text version of the old DOS Artillery Duel or Atari's Cannon Duel game. In this version, you play against the computer and can control the projectile's angle and velocity. I'd now like to add one more dimension whereby the height of the cannons randomly changes … | |
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 … | |
Here's a thread I posted on previous forum regarding the three: I've used PHP, ASP, and ColdFusion, and out of the three, ColdFusion is probably the most fun to play with. Of course, this is a very biased question to begin with. If you ask a C++ programmer what 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 … | |
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 … | |
[url="http://www.petefreitag.com/item/455.cfm"][font=Century Gothic][color=darkslateblue]http://www.petefreitag.com/item/455.cfm[/color][/font][/url] [b][font=Century Gothic][color=darkslateblue]Web Development Cheat Sheets[/color][/font][/b] [list] [*][url="http://www.ilovejackdaniels.com/javascript/javascript-cheat-sheet/"][font=Century Gothic][color=darkslateblue]JavaScript[/color][/font][/url] [*][url="http://www.ilovejackdaniels.com/css/css-cheat-sheet/"][font=Century Gothic][color=darkslateblue]CSS[/color][/font][/url] [*][url="http://home.tampabay.rr.com/bmerkey/cheatsheet.htm"][font=Century Gothic][color=darkslateblue]CSS[/color][/font][/url] [*][url="http://www.ilovejackdaniels.com/resources/colour-chart/"][font=Century Gothic][color=darkslateblue]Hex Codes[/color][/font][/url] [*][url="http://www.psacake.com/web/dy.asp"][font=Century Gothic][color=darkslateblue]HTML[/color][/font][/url] [*][url="http://cdburnerxp.se/htmlcheatsheet.pdf"][font=Century Gothic][color=darkslateblue]XHTML[/color][/font][/url] [*][url="http://www.cookwood.com/html/extras/entities.html"][font=Century Gothic][color=darkslateblue]HTML Entities[/color][/font][/url] [/list] [b][font=Century Gothic][color=darkslateblue]Databases / SQL Cheat Sheets[/color][/font][/b] [list] [*][url="http://www.ilovejackdaniels.com/php/mysql-cheat-sheet/"][font=Century Gothic][color=darkslateblue]MySQL[/color][/font][/url] [*][url="http://nparikh.freeshell.org/unix/mysql.php"][font=Century Gothic][color=darkslateblue]MySQL[/color][/font][/url] [*][url="http://www.technochallenged.com/oracle-8-cheat-sheet.html"][font=Century Gothic][color=darkslateblue]Oracle[/color][/font][/url] [*][url="http://www.3gwt.net/demo/SQL_redux.html"][font=Century Gothic][color=darkslateblue]SQL[/color][/font][/url] [*][url="http://www.selectorweb.com/sql_sybase.html"][font=Century Gothic][color=darkslateblue]Sybase[/color][/font][/url] [/list] [b][font=Century Gothic][color=darkslateblue]Language Cheat Sheets[/color][/font][/b] [list] [*][url="http://www.petefreitag.com/cheatsheets/coldfusion/"][font=Century Gothic][color=darkslateblue]ColdFusion[/color][/font][/url][font=Century … | |
![]() | Hey everybody! I have vmware workstation installed on my Windows XP machine (host) with a Linux redhat 9 guest. After installing vmware tools i'm able to access my windows files from the linux guest... but I'm unable to do the opposite!!!! :mad: I just can't read my files in the … |
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 … | |
I am rather baffled as to why a relatively simple, but very reliable, bit of C code I wrote on a 32 bit unix system (Sun Solaris) will compile fine, but error out when compiled and run on a 64bit Linux system? The specific error I receive upon execution is: … | |
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'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 … | |
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 Everybody, I am primarily a Java/Oracle/UNIX developer working for a telecoms company, but I get my fingers in almost all the pies :) I have been developing in Java and Oracle for a few years now, though I have worked with *NIX environments for much longer than that. I … | |
[font=Arial][b]Creating Executables[/b] Of course, the software on your computer isn't all a bunch of code in a high level language, at least not in the form you receive it in. Before you can run any programs which are written in C++ or Java, they must be compiled. Compiling is the … | |
Hello, I am new here, and this web site looks great! I hope I'm not taking up too much of your time, I just had a couple questions relating to networking Linux and using a Unix OS called OpenBSD. Is there a best Linux recommended to use for file servers? … | |
HI, I have a vc++ project with all its files which includes -header files,& .dll files. I want to export these files to a unix system. i am sure i can do that, but i am looking for equivalent method for aligned aligned_malloc() in unix. aligned_malloc() is a vc++/windows method … | |
I am new to the perl language and had just started reading the book "Perl5 by example" by David Meddinets.However in the very first chapter he says that you need to try out the programs on a perl interpreter.I have w98 and have downloaded the asi version of 5.8.7 from … | |
For those of you who don't know, Daniweb has an IRC server. I'm there a lot, and I don't see any of you. That's not good because I'm there, of course. Real time chat with the resident guru ([B]shamless[/B]) will make you smarter ([B]utterly shameless[/B]) and cooler ([B]words cannot express … | |
[url]http://www.boingboing.net/2005/01/27/jailed_for_using_a_n.html[/url] A Londonder made a tsnuami-relief donation using lynx -- a text-based browser used by the blind, Unix-users and others -- on Sun's Solaris operating system. The site-operator decided that this "unusual" event in the system log indicated a hack-attempt, and the police broke down the donor's door and arrested … | |
[B]Company:-[/B] We are a web development, software development and consulting firm based at Hyderabad, the IT hub in India. Established in 1999, we act as an offshore development center for our overseas partners. vSplash was founded to bring businesses into the e-world by improving efficiency and online effectiveness. Since day … | |
Here is a Example of A Gateway Doorway Page That is spidered by the search engines and listed just as a everyday html based webpage, however when a surfer clicks on a the link coming off the search engine he is redirected right to you root index or main page. … | |
Hi, I think that this is quite simple, but I have lost the right code to enter at this point. My Mac won't boot past the UNIX command line and gives the following: /etc/master.passwd: Not a directory /etc/master.passwd: Not a directory -sh: /etc/profile: Not a directory -sh-2.05b# Then a command … | |
omg i need help so bad. I've been working on a school project for what seems like an eternity and i'm close to deadline. Using FIFO's (i ahve to) to communicate between parent and child proc's. Right now I'm stuck on a read/write. fifomsg is a struct with int length … | |
Hi there, I have got this problem which is rather puzzling, to me at least. My team-mate and I each did our coding and they work as standalone. His part is the UI and mine the backend processing. He did his code using BlueJ using JDK 1.3, I did mine … | |
I am determined to learn assembly. However, I have stumbled upon a little confusion regarding boolean algebra. It seems that the author of the very fine documentation I have been studying hasn't explained a whole lot on boolean algebra symbols. I am learning HLA, and I am studying it from … | |
Studying Computer Science on Unix platform is ussually fun expect days when you get stuck. And life get [B]tough[/B], this is one of my tough days. To make life easier with my c++ programming I wanted to use the [B]make[/B] tool under unix. I have 5 fieles : - student.h … |
The End.