problem about bsd-Collection of common programming errors


  • septical
    c sockets bsd openbsd
    As a proof-of-concept, plus a handy paranoid tool, I’m writing an OpenBSD LKM that will connect to an IRC channel, and report when hooked syscalls are executed.This is so I can essentially have a ‘live’ update of filesystem changes, user logons, etc., when

  • Sam Magister
    unix command-line case-insensitive bsd
    I’m using the The excellent UNIX ‘comm’ command line utility in an application which I developed on a BSD platform (OSX). When I deployed to my Linux production server I found out that sadly, Ubuntu Linux’s ‘comm’ utility does not take the -i flag to indicate that the lines should be compared case-insensitive. Apparently the POSIX st

  • Aragorn
    c unix bsd
    my question is on execution what will

  • Stang02GT
    unix linux bsd
    �Google Is Your Friend. Use it.� Yes that is correct, Google is your friend. And it�s a good one. Always there when you need it, ready and willing at all hours of the day to help you out. Some of you might have found this site(Bytes.com) from our good old buddy. But I have been noticing a trend lately. Our good friend is being neglected. More and more everyday I see people posting questions around the site that with a quick search could be answered. No offence to the person who started this thread, but his/her post is what pushe

  • Nepomuk
    unix linux bsd
    You might have heard about Linux, but you don’t know what it is? Or you know a few things about it, but they terrify you? Well, then this article is for you. Don’t be afraid – Everyone can use Linux! Part 1: What is Linux and why should I use it?Linux is an Operating System (short: OS). OK, so what is an OS? Let me explain:Nearly everybody knows Windows. But what exactly does it actually do?Windows is an example for a OS and one of it’s main tasks is to enable communication between the computer hardware and software like word processors, games or video editing tools. But you know, Windows isn’t the only one! And guess what – you don’t even have to pay for all of them!”Linux” is a very popular example – there are various flavours of Linux (called distributions), but they’re all based on the so called Linux Kernel. (More about that later.) A long time ago, Linuxes were difficult systems. You only had a shell (similar to MS-DOS), installation was hell and don’t even think of Multimedia – Linux was for Freaks only and Freaks don’t need music and pictures. Or do they? A lot of that has changed in the last years. This article should clear up some common misconceptions about Linux and maybe even convince some of the Windows users to test a Linux distribution. Please note that many things are the same or similar in Unix as they are in Linux. This article will therefore only cover Linux, and if you have questions about differences, please ask in the forums. Why install Linux?As you will see in this Article, Linux is different to Windows or Mac OS X in many ways. So, what are the advantages of this so unknown system?Nearly everyone who has ever worked with Windows knows: Windows crashes. Not always, in some cases hardly ever, but ever so often you are confronted problems like the infamous Blue Screen of Death.Then there’s the Virus issue – there are loads of Viruses, Trojans, Worms, etc. that attack Windows. Also, a lot of crackers (note: hackers != crackers) and ScriptKiddies concentrate on Windows. Oh, and of course you have to pay for the Operating System. As for Mac OS X, it is apparently much more secure than Windows, but it (officially) only works on the hardware that Apple sells and those systems are relatively expensive. Now, Linux is a different issue. Most Linuxes are free (more about that on the next page) and much more secure than Windows in terms of Viruses & co, Hackers and system stability. Of course, in Windows you can install an Antivirus, a Firewall, Addware removers, etc. – but you don’t have to in Linux!One reason of course is, that Linux is not so widespread, but the much bigger (and often ignored) argument is, that Linux is designed in a way, that allows it to be much more secure. Explaining that is a bit complicated (and there are many so called “facts” that apparently disprove it), so you’ll just have to believe me right now. If you want to know more, there’s a great article about Linux vs. Windows in terms of security here. By the way, Linux may not be very widespread in the world of home computers, but in the world of webservers, Linux with Apache is the most popular choice.Apart from that, Linux is highly configurable, the support is normally great and it’s great for developers, as there are loads of Development tools available for nearly every language you can think of. Did I mention that they are mostly free too? I found a nice article about how Window isn’t Linux here. I recommend that you read it! There’s more about these and other issues later in the article, so don’t be afraid – you too can use Linux! Continue with Part 2 Part 2: Common Questions and Answers Is Linux really free?Many of you might have seen SuSE Linux CDs on sale in shops. But I said that Linux is free. How can both be true?Well, first of all:Linux is free. But not all Software that comes with it is free too and neither is the support. While you can buy SuSE Linux in shops, what you are actually paying for is the packaged software and the support for your system. You could, if you chose, download the actual Operating system from the Novell website (Novell being the company making SuSE) for free and completely legally – but it included less software and you couldn’t get their support.Actually, most Linux distributions (a distribution is a certain “version” of Linux – I’ll explain further later) are free and so is a lot of software for Linux. Isn’t Linux difficult to install?I admit, it can be. But only if you choose to make it complicated. Most modern distributions have nice graphical installation routines, that allow you to install your new OS without caring about partitions, devices, DHCP and so on. Examples on how to install some distributions can be found in the “Intro

  • bsamer
    unix linux bsd
    Well very simply i have a script when i run it manualy from the root it will work but from the crontab. I get an error The problem is from root i run the script which will define all the env. var. all the needed things and the adabas utility for backup adabck will do its thing and dump the db to a file..all well but… Why the hell is it giving an error from the cron.. it is loading all the same var. it is running the same script which loads all the same env. var. … im not sure.. here is the moust simplified script i have use

  • bettadpur
    unix linux bsd
    Hi All, I am trying to install gdb 7.2 on redhat5. it was successfull.. But if you run from the command prompt as gdb any object file(test) I am getting the following error.. GNU gdb (GDB) 7.2Copyright (C) 2010 Free Software Foundation, Inc.L

Originally posted 2013-11-09 21:43:44.