1,446 Topics

Member Avatar for
Member Avatar for Anderson_2

[Linux](http://www.educba.com/course/online-unix-linux-operating-system-fundamentals-training/) is in the simplest terms it is an Operating System. It is the software on a computer that ready the application and the computer-operator to access the devices on the computer to perform the desired functions. The OS(Operating System) relays instructions from an a application to and for instance …

Member Avatar for hastings.george.5
-1
200
Member Avatar for cbreeze

My professor assigned a problem from our OS book about matrix multiplication. Its pretty simple as the book shows how to do most of it. But now my professor has added an extra layer of difficulty. Instead of declaring the multidimensional arrays globally he wants us to input the size …

Member Avatar for Tedi_1
0
3K
Member Avatar for mike_2000_17

# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, …

Member Avatar for Lutina
15
8K
Member Avatar for d8m9

Hi, for my final thesis I choose to elaborate about fuzzing. When I will defending my thesis I should have some results, some bugs. I would like to test some unix program but I need to choose carefully. I need the probability of finding a bug to be the greatest. …

Member Avatar for rubberman
0
527
Member Avatar for ddanbe

Will the console prompt ever support unix commands Like in the Apple Terminal?

Member Avatar for rubberman
0
336
Member Avatar for RikTelner

Related: https://www.daniweb.com/hardware-and-software/linux-and-unix/threads/494353/urgent-nothing-boots-anymore The error of my laptop, the HDD turned out to be the culprit. They tried to recover data, but it won't really work and I think they just pull me off my money, I can get them to wipe the HDD and make it useful again for 50 …

Member Avatar for RikTelner
0
483
Member Avatar for Atharva.

I want to write a shell script which finds main() in the given folder files and sub folder files

Member Avatar for Gribouillis
0
242
Member Avatar for Papa_Don

Hi group, I'm using VB.net to convert an output file (text) from a Linux based program into a file that will easily read in Notepad. I found some code in VB.net to do this conversion for UNIX that works "OK" (meaning fair but not perfect). It looks like this: txtLine …

Member Avatar for rubberman
0
478
Member Avatar for iamthwee

Would you ever use a non unix like operating system ever again by your free will. (Working environments don't count) And why aren't all operating systems posix based? <-Serious question? It just seems so painfully obvious to me this is how all operating systems should be. Thoughts?

Member Avatar for iamthwee
1
226
Member Avatar for london-G

Hi guys, Trying to set up a cron job using [this tutorial](http://www.magentocommerce.com/wiki/how_to_-_import_manufacturers_or_any_other_option_attribute_set) I have replaced {my/magento/install} with my site path and tried to execute it as a unix command. /usr/bin cd /{/var/sites/e/mysite.com}/shell/; php -f attributeimport.php -- --attribute manufacturer --file ../manufacturers.txt; It gives me an error: Error: The command you entered …

Member Avatar for london-G
0
432
Member Avatar for Papa_Don

Group, Some weeks back you helped me solve a formating issue with a text file that originates from a UNIX based program (see [https://www.daniweb.com/software-development/vbnet/threads/489626/remove-end-of-report-line-and-format-unix-text]). While reviewing this newly formated data I saw that a character was place at the beginning of each page. Thus, I assume it does set the …

Member Avatar for cgeier
0
502
Member Avatar for glubbish

I have a backup program that used to work reasonably well. It used copyfileex to copy files from one unix machine to another. Recently it has been maxing out at about 5Mb/s So I changed to SHFileOperation and found it averages about 80Mb/s This is using delphi 7 on windows …

Member Avatar for Duoas
0
286
Member Avatar for Larry_6

so there 3 questions that I'm really confused, anyone familiar with unix want help? 1. Each file system in UNIX has at least one table that identifies file in it, the entries are called i-nodes.where are these inodes resides?(location) 2. What operation would cause the i-nodes of a file, say …

Member Avatar for rubberman
0
177
Member Avatar for Chris920

Hey everyone. Long story short i installed Centos web panel. Its amazing so far. This is my second time installing it as i messed something up the first time, first time i was able to change the apache template in each directory itself and it would change. Now i cant...I …

Member Avatar for empowrd
0
614
Member Avatar for Farrukh saleem
Member Avatar for ShouldAt3
0
356
Member Avatar for Rohit_17

Hi, I don't know that this discussion is relevant or no in this community, if not I am really very sorry. I work in a software company from past 1 year. From last few days I start learning python. I know little bit of unix & shell scripting. My quesions …

Member Avatar for Lardmeister
0
216
Member Avatar for mnkyskilz

hi i am required to write a program in mips assembler where i am to create a checkerboard which is too be saved and written to a bmp file, compile this program it has a problem with writing the file because it jumps straight to my error message could someone …

0
283
Member Avatar for Papa_Don

Group, I'm now having to merge several of these text files together. At the end of each of the text files is a line that says "End of Report". I need to eliminate this line completely. This code does the merge for me: RestranName = getRestranName(0) RestranName2 = getRestranName(1) System.IO.File.AppendAllText(RestranName2, …

Member Avatar for Papa_Don
0
754
Member Avatar for EddieC

Microsoft this week acquired [url=http://www.teamprise.com/]Teamprise[/url], a division of [url=http://www.sourcegear.com/]SourceGear[/url] that built tools to give developers access to Visual Studio 2008 Team Foundation Server from systems running Linux, Mac OS X and Unix.SourceGear's flagship [url=http://www.sourcegear.com/sos/]SourceOffSite[/url] provides remote access to Visual SouceSafe, Microsoft's version control system. Teamprise comes in [url=http://www.teamprise.com/products/download/]three forms[/url]. The …

Member Avatar for mike_2000_17
1
1K
Member Avatar for Papa_Don

Hello Group! I am in need of converting a "text" file created by a UNIX based program (it is only semi-formatted) and put it into a more-formatted text (.txt) file. Put a different way, this needs to be converted such that it can be opened in Notepad and it be …

Member Avatar for Papa_Don
0
671
Member Avatar for murali2489

Hi All, I am very new to C Programming. I am writing a C Program to run in an UNIX machine which is used to Archive Log files if it exceeds a particular Size. The thing is the program has to get the details of the file like file name, …

Member Avatar for murali2489
0
271
Member Avatar for Papa_Don

Hello everyone! Is there a way in VBA to find a file name that has an unknown portion to it? Let me explain: Our computer system is UNIX based. It is creating a text file for us that uses the date, the hour, minutes and seconds that the file was …

Member Avatar for Minimalist
0
330
Member Avatar for nhrnjic6_1

Hi. am starting out with network programming and unix network programming book. all its trying to do is connect to server and read time, but when i run it it says : 'connect error: Connection refused' Here's the code : #include "unp.h" int main(int argc, char **argv) { int sockfd, …

Member Avatar for rubberman
0
126
Member Avatar for Rahul47

Hello folks, I am currently in 2nd year of Masters Degree and I am expected to develop a project this year from the given topics. I find Command Based text editor like vi fascinating as others were boring. So, here is the project definition. **In this project you are expected …

0
63
Member Avatar for jai_steave

Hello , Iam looking for a command on the Solaris to free up unwanted swap memory, does any one know the command ? On linux/unix , we have command sync ; echo /proc/sys/vm/drop_caches, do we have similar one on Solaris ? Thanks, Jai.

Member Avatar for pintukennady31
0
112
Member Avatar for vaultdweller123

hello people daniweb....just want to ask honest oppinions from you guys, because this has been bugging me for years. I've been a PHP developer for 5 year using windows. So far so good. i am able to accomplish the task at hand. but there's always back of my head saying, …

Member Avatar for vaultdweller123
0
177
Member Avatar for herrschteiner

I'm writing a bash script that redirects the output of a command to a file. The next thing the script should do is read the contents of the file, into the tenth line of a python script. It's tricky, because the line of text in the python script should read: …

Member Avatar for Software guy
0
311
Member Avatar for kww228

I am working on a shell script that takes a single command line parameter, a file path (might be relative or absolute). The script should examine that file and print a single line consisting of the phrase: Windows ASCII if the files is an ASCII text file with CR/LF line …

Member Avatar for chriswelborn
0
862
Member Avatar for David_50

I worked for 20 years in hardware and twenty odd now in software, so change is an old friend. I consult on UNIX/LINUX to a variety of industries, write lots of bits for my own needs, love to help others over their hurdles.

Member Avatar for JorgeM
0
231
Member Avatar for jober

Hi Guys, I'm just wondering if I can install bandwidthd using Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/4.0.46 configured? Thanks

0
144
Member Avatar for happygeek

A 22 year old vulnerability, yes you read that right, has been discovered which some security experts suggest could be bigger than Heartbleed. The bug, reported as '[CVE-2014-6271:remote code execution through bash](http://seclists.org/oss-sec/2014/q3/649)' relates to how environment variables are processed: with trailing code in function definitions being executed independently of the …

Member Avatar for Djmann1013
6
960
Member Avatar for COKEDUDE

Is this a good example of using multiple pipes. I need to fork 3 children. Would I just need to repeat the process in between the hyphens? Where would I add extra sleeps? Is it a bad idea to use WEXITSTATUS and WIFEXITED? Can anyone spot any errors? #include <stdio.h> …

0
103
Member Avatar for chrisschristou

hello i'm using the latest version of wampserver but i have a problem with my alias i get this message "403 forbidden you don't have permission to access / on this server" i had this problem in past and i resolved it by editing line 278 and the document root …

0
111
Member Avatar for valestrom

Hey, I'm trying to figure out how to get this kind of program to work, it's supposed to be a UNIX style program in the sense that everything is command line driven. What I'm trying to get it to do is when the function is called it takes the input …

Member Avatar for Gribouillis
0
5K
Member Avatar for PriteshP23

Hello, I have one query with timestamp. I got below error. select users.login, FROM_UNIXTIME(AVG(UNIX_TIMESTAMP(ticket_history.create_time)-UNIX_TIMESTAMP(ticket.create_time))) from ticket_history_type inner join ticket_history on ticket_history.history_type_id=ticket_history_type.id inner join ticket on ticket.id = ticket_history.ticket_id inner join users on users.id = ticket_history.change_by where ticket.create_time BETWEEN '2014-10-01' AND '2014-10-15' AND ticket_history.name ='%%new%%Fermeture réussie%%' group by users.id *`error: function …

Member Avatar for PriteshP23
0
662
Member Avatar for muskovitz

i want to make a time capturing limit of airodump-ng using the timeout command of UNIX but it just gave a empty terminal screen! Heres the simple perl script #!/usr/bin/perl use strict; use warnings; my $interface="eth1"; my $moninterface="prism0"; open(FILE, ">result.txt") or die "Failed to create a file!\n"; print FILE `iwlist …

Member Avatar for 2teez
0
303
Member Avatar for RikTelner

Why does Linux, looks like Macintosh? I am in classroom, there are 2 Macintosh users, then me, with Linux openSUSE/Ubuntu and Mint then rest of Windows 7/8. So, one of Macintosh users came standing behind my screen (everybody in the class is stalking one another, as if it was normal, …

Member Avatar for mike_2000_17
0
1K
Member Avatar for nravhad
Member Avatar for quontra123
Member Avatar for Hiroshe

I put this in the Unix catagory, however I beleive Windows pipes also can perform atomic writes - correct me if I'm wrong! Say I'm trying to save a large stream of information onto a filesystem. This filesystem might be local, it might be LTFS (a tape filesystem. Here, seeks …

Member Avatar for Hiroshe
0
197
Member Avatar for krystosan

I am on OSx and I am trying to exit the program by pressing CTRL+C. but it seems like even if I have a signal handler registered in main thread it doesn't exit while the thread is executing on pressing CTRL+C. Here is a piece of cake where I am …

Member Avatar for TrustyTony
0
2K
Member Avatar for MerryFrog

NCIT Solutions Provides offshore IT, Web design, software programming services for clients in the US and worldwide, with offshore prices and best quality. The mission of NCIT Solutions is to provide viable and lower cost outsourcing solutions. We offer you tailored offshore services to supplement your development effort. Our services …

0
136
Member Avatar for srivardhanms

Hi, I want to write a sniffer program which sniffs the packet from a Unix socket. Is it possible? I have written a small server and client programs using unix socket (sockaddr_un). Now I want to write a sniffer program which sniffs the packet from the socket. Am not able …

Member Avatar for srivardhanms
0
1K
Member Avatar for aziz32882

Hello everybody, I am so much glad that I found such type of topic in this forum.I don't know why I love Linux operating system rather than programming.may be my job is on this department thats why I used to love linux server. Just share to you :-).

Member Avatar for aziz32882
0
119
Member Avatar for scomrade

Hi, just to find out if any of you gurus have been coding in C in a UNIX environment with a Raima database? Will want to lean on someone for guidance

0
156
Member Avatar for daChi

Hi there, my name is Brian. I am a software engineer whose most experienced in the Linux/UNIX shell scripting world. I also have a background in cloud computing (namely Amazon Web Services) and Java. I look forward to learning from and sharing with the Daniweb community!

Member Avatar for Dani
0
55
Member Avatar for XodoX

It's a server-client code. The client should wait for the server, and if there's no response, then send a new request. There's a 2 second wait. It's UNIX. I've been looking at some select() examples, but I'm not really sure... I found this example. #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> …

Member Avatar for iamthwee
0
161
Member Avatar for Ahmed_51

Hey guys, I've been writing a program that will take user jumbled input, find it in a given file, and print the unjumbled word. I've written most the code up to this point but I haven't been able to finish it and am stuck at how to fix it. I've …

Member Avatar for L7Sqr
1
561
Member Avatar for amavikmukherjee

[Click Here](null)Hello dani. I know how to write to a file using redirection. But I am unable to write a record to every new line. I want it this way alex amsterdam 800 7 But I am ending up putting everything in a new line, I mean the fields or …

Member Avatar for txernobill
0
362
Member Avatar for mcoliver88

Hey All What is the equivilant of romaing profiles in windows server for Unix/Linux? Or how would i go about storing user accounts in a centralise location on the network so regardless of what machine users log onto on the network, they have the same desktop experiance? Thanks

Member Avatar for rubberman
0
244

The End.