bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for deni_bg

Hi, everybody! I have a big problem. I don't understand Unix, but I work as a system administrator, and sometimes I make some data exports and I have to delete old .dmp files, but today I had a mistake, I wrote rm * 909* This is a part of my …

Member Avatar for L7Sqr
0
175
Member Avatar for WolfShield

I have some program ideas that I would like to build for PC, Mac, and Linux/Unix. The process I have in mind is to write the core libraries in C++, then program each UI based on OS. Windows: C# Mac: Objective-C and Cocoa Linux/Unix: C++ and GNome/Gtk But, I only …

Member Avatar for mike_2000_17
0
257
Member Avatar for wolf29

I am having major issues with nfs, in that server-1 has to mount a file from server-2 before an application owned by another user can operate. The applications will appear to load without the mounted share but they will be just going through the motions and the application will not …

Member Avatar for wolf29
0
175
Member Avatar for Alison Clarke

Hi All, I am working with a Software company and I have got an opportunity to work on Unix server but I just have basic knowledge of Unix and Linux. And I have to learn all the commands within a week. Is there any online tutorial or any website? Please …

Member Avatar for neerajpro
1
1K
Member Avatar for mwenyenia07

i downloaded cronjob bootstrapper and edited as shown: #!/usr/bin/php [CODE] <?php /* |-------------------------------------------------------------- | CRON JOB BOOTSTRAPPER |-------------------------------------------------------------- | | By Jonathon Hill (http://jonathonhill.net) | CodeIgniter forum member "compwright" (http://codeigniter.com/forums/member/60942/) | | Created 08/19/2008 | Version 1.2 (last updated 12/25/2008) | | | PURPOSE | ------------------------------------------------------------- | This script is …

Member Avatar for rch1231
0
980
Member Avatar for Satyrn

I wrote this small script to convert all sh files in a directory and all sub-directories to resolve a compilation error I was getting with cygwin... [CODE] SETLOCAL @echo off :: Locate all sh files in the target directory and then :: Convert CRLF to Unix Style LF echo Converting …

0
82
Member Avatar for needpython_help

Hi everyone, I'm new here so I hope I've put this in the right place. I'm looking for a little help with a python program I've written. I'm trying to create a timeline from SQLite databases. I take information from a calls database, then an sms database, write those to …

Member Avatar for Member #912166
0
897
Member Avatar for chilume

I wanted to connect to unix and call a shell script program from dot net application (windows application). do i need to use MS Winsock control to connect to unix or is there any other best option? Kindly let me know. Thanks

Member Avatar for discovery-power
0
182
Member Avatar for etm9413

Hi all, this is a quite simple question. In windows, I wan't to set an environment variable to contain a cmd prompt command that will open an explorer window from the command prompt current directory. I am aware of the >explorer <path> command and want to make use of the …

Member Avatar for Aia
0
198
Member Avatar for Ritesh_4

Hello I've spent some time searching for this but did not find: I want to make my users login directly to a folder /var/www/ on my server when they login to the ftp. How to do this?

Member Avatar for Ritesh_4
0
190
Member Avatar for boshu

I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders and files …

0
79
Member Avatar for stupendousomega

Alright, so... I'm using Gnome 3, and when I click logout in the top-right corner, it takes FOREVER to log out... If it logs out at all. I don't know what takes it so long, but it's ridiculous. What I want to do is find the script it runs and …

Member Avatar for stupendousomega
0
435
Member Avatar for carloskire

Hi. I'm programming this Java app on NetBeans 7 to deploy it via Web Start and is all going well. I'm developing on Windows but the jnlp, jar etc. are to reside on a unix box. It runs well on unix too. At the moment my app reads a text …

Member Avatar for carloskire
0
530
Member Avatar for muthu1802

Unix server - function(). I want to call this function through java program and track the result. help me.

Member Avatar for NormR1
0
90
Member Avatar for blackcorner

Hi folks: How can I get information regarding the drives in the system?, using Python, off course ;) The information must include (at least in part) the following: [LIST] [*]Size [*]Used space [*]Free space (although you can calculate this value from the former two, some systems are tricky and don't …

Member Avatar for asdsdadfgdgsafd
0
4K
Member Avatar for Mike516

I have a code that gives me a unix time ie)1277851200 How would i be able to convert that to x minutes x seconds and so on. (real time)

Member Avatar for tech.biztech
0
124
Member Avatar for narlapavan

...how to update system time permanently in solaris through c++. ...how can i login into superuser(su) account through c++ code in solaris.

Member Avatar for dpa.clt
0
194
Member Avatar for sham51

hi guys !!!! if any one can let me knw where i can find a unix downloadable file tat would be really helpful.... i dont mind the version , though would prefer the latest.... plz take immediate notice and help me!!!1 am in a bit of a hurry.... thank u …

Member Avatar for conbot
0
264
Member Avatar for winecoding

I once saw the following script in a bashrc file, which is [CODE]export PATH=.:$PATH:$M2_HOME/bin[/CODE] I don't know what does . (the first dot point after =) mean here? Then, what is the resulting path after this kind of setup?

Member Avatar for rubberman
0
132
Member Avatar for BLUEC0RE

I got it to run but for some reason they incorrectly implemented the "chown" call. Here are some examples of how it is implemented in their test scripts: chown ${n0} 123 456 (where path is first) -u 65534 -g 65532,65531 -- chown ${n0} -1 65532 (where options are set before …

0
119
Member Avatar for Billy D

I have a console application I compiled with Xcode 4. I have an icon (Unix executable) for it on my desktop. Is it possible for me to click on that icon and run the program WITHOUT terminal opening?

Member Avatar for janejackson87
0
216
Member Avatar for pucivogel

Hi everyone i'm learning linux now and i'd like to know what can be defined as a complex command on linux and how to program(apply) it on the terminal i know simple commands like ls, cd, mkdir and lots of others.Also can u tell me please how can i program …

Member Avatar for JasonHippy
0
252
Member Avatar for newsguy

I stumbled across an interesting interview with Linus Torvalds over at [URL="http://apcmag.com/7012/linus_torvalds_talks_about"]apcmag.com[/URL] in which the man himself would appear to be confirming that there will be no Linux kernel 3.0 The first hints are given when he responds to a question concerning why the 2.6 kernel has been around for …

Member Avatar for Tellalca
0
693
Member Avatar for klemme

I am trying to send data from a contact form to my email adress. IT IS FROM LOCALHOST - THE SITE IS NOT ONLINE. My form looks like this: [CODE] <form name=form1 method=post action=send_contact.php> <p>Emne:</p><input name=subject class=input type=text id=subject size=64> <br /><br /> <p>Forespørgsel:</p><textarea name=detail cols=50 rows=7 id=detail></textarea> <br /><br …

Member Avatar for digital-ether
0
309
Member Avatar for klemme

I am trying to send email from my contact us form on my site. At the moment i am testing it on my localhost, with these php.ini settings: [CODE] [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = pop3.mail.dk ; http://php.net/smtp-port smtp_port = 110 ; For Win32 only. ; …

Member Avatar for digital-ether
0
203
Member Avatar for alaa sam

hey I'm new to unix and i've just downloades ubuntu , so can anyone give me a link to find all the commands can be used in the terminal to do things

Member Avatar for alaa sam
0
209
Member Avatar for munitjsr2

I am learning C/C++/oracle/Unix? I am thinking of developing some application on my own, but I have no Idea what else is required. If you take an example of C++.I have very basic knowledge of it(data types, oops concepts,vectors,file handling,exception handling etc) I am not an expert though. I have …

Member Avatar for munitjsr2
-2
368
Member Avatar for ivan3510

I need help! Here's script: [CODE] <?php date_default_timezone_set('Europe/Paris'); $time="1303889758"; echo $time."<br>"; $convert=date("G:i:s d. n. Y. ",$time); //convert $time to our date: output is 9:35:58 27. 4. 2011. echo $convert."<br>"; $con2=mktime($convert); //convert converted time to unix: doesn't work echo $con2; ?> [/CODE] I have two script. One script write the time …

Member Avatar for ivan3510
0
123
Member Avatar for rikjwells

[CODE]Name: Rik Height: 5'8'' Weight: 145-ish lbs probably (I haven't checked in over a year) Hair: Greying brown Eyes: Blue Location: Wellington, New Zealand Year of birth: 1964 OSes: CP/M, Multics, Unix (various), MS-DOS, RSX, VMS, AmigaDOS, Linux (various), Windows (various) IT languages: RPN, BASIC, UCSD Pascal, C, exec-com, Fortran, …

Member Avatar for jingda
0
216
Member Avatar for alwaz on9

Hi all, I was asked to write a shell program in c in unix....basically what i would like to include are the use of dup2 to implement redirection ( < or >) and the use of dup2() and the pipe() system call to implement the '|' symbol on the command …

0
193
Member Avatar for dem10

Hi all, I am trying to figure out the users logged in to our general server at work. Is there a command or string of commands that lists users (only once if logged in multiple times) in alphabetical order with no stats behind the username?

Member Avatar for alaa sam
0
112
Member Avatar for Gaspacho

Hello I have Java application that runs under unix and has console for user imput. I would like to perform something like this - If I enter "edit config" I would like to vi pop up with config file loaded (with java still running in background" and after user is …

Member Avatar for Gaspacho
0
207
Member Avatar for narlapavan

how to known whether system is available or not at the time of start up of operating system in unix systems

Member Avatar for L7Sqr
0
174
Member Avatar for mbarandao

Hello: I'm having difficulty getting variables that are passed to another page in a url after migrating from an apache on window server to a apache on unix server. Here is the url: [code] <meta http-equiv="refresh" content="3;url=/i-cmsys/editableinvoice/index.php?edit_mileage=<?php echo $_POST['edit_currentmileage']; ?>&edit_servicearea=<?php echo $edit_servicearea_str; ?>&inputbox=<?php echo $_POST['inputbox']; ?>&edit_clientID=<?php echo $_POST['edit_clientID']; ?>&edit_firstname=<?php echo …

Member Avatar for mbarandao
0
305
Member Avatar for TheWolverine

Hi all, I've setup a class within my software package to read generic text files. For this, I'm using the getline( ) function and then parsing each line for specific types of files. In setting this up, I've come across the ACSII incompatibilities between Windows systems and Unix systems. I …

Member Avatar for mike_2000_17
0
416
Member Avatar for Straocaste

Hello, I need help making my shell in c. The shell needs to ignore spaces, this means that you can put the spaces you want an the command needs to work, I already resolved that problem, the next problem is that if you put ; two commands need to be …

Member Avatar for rubberman
0
191
Member Avatar for blur0224

Hi all, I'm designing a system that will use Solaris 10/9 with a RAID 0 + 1 configuration. My guess is that if I install the system using one disk with partitioning, I'll be able to setup the RAID 0 + 1 configuration from command line. If the installation is …

Member Avatar for blur0224
0
288
Member Avatar for mehran tahir

hi every body, i want to installed the modernbill on my localhost, i got this error in the installation phase, * You MUST have (SSL-enabled PHP cURL for faster secure remote API queries [you do not], or SSL-enabled CLI cURL for secure remote API queries [you do not]) [you do …

Member Avatar for mehran tahir
0
171
Member Avatar for k2k

Would anyone please explain a bit about sharing between Unix and Windows? From my understanding, Unix can only see windows's share/print by Samba. However, I was googling around and found many pages talking about mounting Windows CIFS by just using regular "mount" command. Is Samba outdated now? Is it right …

Member Avatar for rubberman
0
186
Member Avatar for bigwhiteegg

first time using libcurl I'm trying to use it for a function that downloads a page's source code like this getHTML(string URL); but I do not understand the set up [URL="http://curl.haxx.se/libcurl/c/libcurl-tutorial.html"]libcurl[/URL] [QUOTE]There are many different ways to build C programs. This chapter will assume a UNIX-style build process. If you …

Member Avatar for vijayan121
0
273
Member Avatar for cyberbemon

i'm writing a C program in unix that take a number upto 5 and creates that amount of threads..if the use doesn't enter anything the program quits after 5 secs...and this is where i'm stuck T_T ..how do i do this ? time.h ? code of wat i've done so …

Member Avatar for Ancient Dragon
0
192
Member Avatar for Theanonymous

I need to write a program that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. Like this : if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form …

Member Avatar for finchh
0
322
Member Avatar for Enzo85

Hello everyone I am new to this site. I have a university assignment in which I need to program a 2 player pacman game, using C and the Unix operating system. If more than 2 users have typed the command to run the program/s the users must wait in FIFO …

0
140
Member Avatar for pythonbegin

Hi all I have a program that is written in java and have three different executables program.sh, program.bat, program.jar. i can starts the gui by using program.jar and then in gui i can enter parameters. but as i want to run it over several parameters and get the outputs. i …

Member Avatar for JamesCherrill
0
234
Member Avatar for echocoder

I am using the following string and Java code to create a user on a Linux box via Java. [CODE=java] ... String x = "/usr/sbin/useradd -g users -s /bin/bash -c 'FIRST M LAST, STERK,DIV-DIS-OFF,123-456-2913' -p 2342asdfa231rcawef09 -d /home/flast -m flast"; RunCommand(x); ... [/CODE] However, upon execution it spins a list …

Member Avatar for thekashyap
0
323
Member Avatar for harish9

*ptr = 'hello world"; if we try to modify the content the result is undefined when i worked with gcc in unix. But i can modify the content in Turbo c. How it worked i got confussed.

Member Avatar for rubberman
0
161
Member Avatar for plannerK

I'm mostly a former developer, doing small pieces of code in a variety of languages and applications in order to help out my team. I joined DaniWeb to learn new things, be reminded of old things, get help and help out others. I do mostly systems engineering now, processes, quality, …

Member Avatar for AndreRet
0
118
Member Avatar for bufospro

Hi all, I am new in shell scripting and I need your help 1. I would like to make a list of files (no folders) of unix system which do not belong to root 2. I would like to make a list with directories of system which the first letter …

Member Avatar for bufospro
0
166
Member Avatar for sidlampard

This is an assignment question, I know i should do it myself, but believe me i have just learned this subject and couldn't find the answer. Please if someone could give me the answer, i would be greatfull. And please if you could hurry because I have to submit on …

Member Avatar for Potion
0
145
Member Avatar for alienlinux

why is it every time i load a new distro i never find one that has default FFS support? why is it however that virtually/probably every distro out there comes ready to read proprietary FAT(FAT16), VFAT(FAT32) and NTFS partitions but not non-proprietary filesystems such as FFS?!? *BSD are opensource too …

Member Avatar for wmhrae
0
598

The End.