bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for santosh.malghani.3090
Member Avatar for daniel36

How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project.

Member Avatar for Member #120589
0
203
Member Avatar for alaa sam

Hi everyone . I'm studying network engineering and security , its my forth year . I have taken a network programming cousre , and I will take Unix system programming course soon . I love programming , and I love networks . I have taken network course , network protocols …

Member Avatar for alaa sam
0
153
Member Avatar for moroccanplaya

Task Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). The purpose of this file archive utility is to allow users and system administrators alike to …

Member Avatar for Dolby779
0
236
Member Avatar for programmer12

Hi, I am trying to create a way where Javascript can do a loop between two Unix Timestamps to print out the dates and some html. I have created a way for this method to work in PHP. However, I need this same method to work in Javascript. Working PHP: …

Member Avatar for programmer12
0
643
Member Avatar for K.R.SRAMAN

**Rev. kanan ratan sraman sri pragnananda pirivena, 80,nagaha watta road, maharagama Sri Lanka**

Member Avatar for cypher1
0
211
Member Avatar for jpreem

So Im using our university servers through an ssh connection. I have a bunch of files in a directory which I would like to run through a perl script. So I thought this simple script I concocted should do the trick. I have used similar script on my home computer …

Member Avatar for TylerD75
0
336
Member Avatar for nivarshn

Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ? ftp -in <<FIN open $SAP_UP_SERVER user $SAP_UP_USER $SAP_UP_PASSWORD asc put $PM00_OUTPUTS_DIRECTORY/$SAP_UP_FILE_CSV /$SAP_UP_FILE_CSV put $PM00_OUTPUTS_DIRECTORY/$SAP_UP_FILE_CTL /$SAP_UP_FILE_CTL prompt ... End …

0
114
Member Avatar for Akira01

OK so I am basically brand new to shell scripts and new to Unix in general. I have a server that has two profiles, one is a shared account for a few friends and I and the other is one that I use to run video game servers off of. …

0
113
Member Avatar for paulc79

Hi everyone, When I type http://clontarf.girlsacademy.com.au/News-2012-Academy-Awards-53.html into my web browser I get the following error message: "Not Found The requested URL /News-2012-Academy-Awards-53.html was not found on this server. Apache/2.2.22 (Unix) mod_fastcgi/2.4.6 mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.3.13 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.2 Server at clontarf.girlsacademy.com.au Port 80." How can I fix this? Cheers …

Member Avatar for alanwdaniweb
0
254
Member Avatar for awaisahmad13

This is the code do look at it. I just want change it in switch statement. will stuck in it. it is unix code. commands[0] = (char *)"ls"; params[0] = (char*)0; commands[1] = (char *)"who"; params[1] = (char*)0; commands[2] = (char *)"date"; params[2] = (char*)"+%d/%m/%y"; commands[3] = (char *)"ps"; params[3] …

Member Avatar for rotenegg
0
237
Member Avatar for boiishuvo

Okay I am trying to write a program where a parent process creates three child processes. Also waits for each of them to finish. Here is my code: [code] #include <stdio.h> #include <unistd.h> main() { int i; // create 3 child processes for (i = 0; i < 3; i++) …

Member Avatar for rakeshbiswal
0
4K
Member Avatar for nseeley3

Hey! So I am new at programming, Pretty much all of my knowledge is Arduino, Processing, and Lua. I was wondering if anyone had any advice about which direction I should go from here. I would want somthing that is Compatible with Windows, Mac, and Linux (possibly BSD). Thanks in …

0
65
Member Avatar for lena1990

hi all i want to write unix shell script but my operating system is windows 7 so do you have or know a program that provide unix environment on windows??? thanks in advance

Member Avatar for mike_2000_17
0
224
Member Avatar for amnakhan786

Hi, i am relatively new to programming. i am trying to use an open source library found by google search. the readme file tells to write make on commandline, as a result i got an exe file sample, but now i am trying to chk the output and the usage …

Member Avatar for JasonHippy
0
277
Member Avatar for cougar367

Hi all I am having problems recieving my emails through free bsd . what are the general commands to allow mails to be released and come through?? cheers Cougar367

Member Avatar for BigPaw
0
110
Member Avatar for danielmichael.torres.9
Member Avatar for hwoarang69
Member Avatar for hwoarang69

i write alot of program in C. and it really helpful if i write them in unix or linux. so is there a way for me to use unix or linux without downloading onto my computer? may be i can download unix, linux on CD or some program that let …

Member Avatar for ORAfreak
0
329
Member Avatar for rajkumar.it

Hello guys, I am working as a C C++ UNIX software programmer , and looking for freelancer projects. could you please let me know how can i get the project?

Member Avatar for rajkumar.it
0
129
Member Avatar for shreya19

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

Member Avatar for Watael
0
116
Member Avatar for harpoon35

Hello, I was trying to combine some commands but having a little trouble. In a single command I want to call the script dvdcoll2 and accept input from dvdcoll1. Then I want to put stdout into dvdcoll3, and stderr into dvderror. How do I string together four commands in a …

Member Avatar for Watael
0
119
Member Avatar for vishankparikh

Q-1 Write a shell script in Unix that lists files from your current working directory · By modification time when called with lm · By access time when called with la. By default, the script should show the listing of all the files in the current directory. Q-2 Write a …

Member Avatar for sbesch
0
163
Member Avatar for Member #1009879

I keep receiving these error messages: Applicant.cpp:25:6: error: prototype for âvoid Applicant::setDeposit(char)â does not match any in class âApplicantâ Applicant.h:12:7: error: candidate is: void Applicant::setDeposit(bool) Applicant.cpp:29:6: error: prototype for âchar Applicant::getDeposit()â does not match any in class âApplicantâ Applicant.h:13:7: error: candidate is: bool Applicant::getDeposit() Applicant.cpp:71:5: error: prototype for âint Applicant::addPoints(int)â …

Member Avatar for Member #1009879
0
189
Member Avatar for professor123

how can you use the **HISTORY** command in **UNIX** or is there an **Alternative command** to view your previous unix commands.

Member Avatar for rubberman
0
294
Member Avatar for minitauros

Hello there. I am kind of confused. In PHP I substract two unix timestamps from each other. The first: mktime(0, 0, 0, 10, 22, 2012) The second: mktime(24, 0, 0, 10, 28, 2012) For as far as I know the time difference between these two timestamps is exactly 7 days. …

Member Avatar for Member #120589
0
266
Member Avatar for pattilupwned

Hello, I am writing a program that reads in data from a text file and puts it into a linked list. Certain variables are read in only if the "officeHeld" number is a particular number, otherwise the variable is set to 0. When I run this through Visual Studio, I …

Member Avatar for dx9_programmer
0
395
Member Avatar for McLaren

Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to …

Member Avatar for McLaren
0
333
Member Avatar for jnewman3

I've been working on this code for 2 days now and i finally think i got the while loop running correctly but now i cant seem to print the child process id's. The code starts with the parent process forking 3 child processes. Then the parent must wait till a …

Member Avatar for rubberman
0
301
Member Avatar for rhowell

I'm inspecting a binary file. I have a rough idea of what is inside but there are some characters present which I am not sure how they got there. My question is highlighted in bold below. Thanks. To speed things up the first 28 bytes are reserved for the date …

Member Avatar for rhowell
0
198
Member Avatar for doa.sdude

<ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> <ns:Address> <ns:StreetNumber>XXXXX</ns:StreetNumber> <ns:CityName>XXXXXX</ns:CityName> <ns:StateProvNamePA</ns:StateProvName> <ns:ZIP>XXXX</ns:ZIP> <ns:AddressID> <ns:ID SystemCode="CODE">10</ns:ID> </ns:AddressID> </ns:Address> I am tryting to Spilt a File into number of …

Member Avatar for L7Sqr
0
266
Member Avatar for abulut

Hello; While this script working, in case of not to connect a node ("BADYK01","BAGRK01", "BAHLK01", "BAHLK02", "BAHLK03") , it stops. I want it to be continue even if it doesnt connect a node. I mean if it couldnt connect to BAGRK01, I want it to be continue and connect the …

Member Avatar for wickedxter
0
201
Member Avatar for cereal

Hello. The problem is in [this post](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/434969/php-and-apache#post1868055). First block of code, line 5 and line 9. I see a difference between normal view and raw view (on double click). In normal view line 5 appears like: <Directory /> in raw: <Directory ></Directory> and the same happens on line 9. These …

Member Avatar for Dani
1
268
Member Avatar for saltex

Hey all, Wanted to ask a question about the guest profile on Mountain Lion. I have always been a little insecure about changing and adding new feats to the terminal, so I'm trying to figure out a way that I can be *more* secure. I have recently edited both bash …

Member Avatar for macmad
0
282
Member Avatar for hwoarang69

not sure where to post this but the problem is that i cant seem to compiler a program in unix. i am using unix: SunOS unix2.its.albany.edu 5-10 Generic_142900-06 sun4u sparc SUNW, sun-Fire-V440 1-create file emacs hello.cl(l = lower case L) 2.write program in "COOL" class Main { i : IO …

Member Avatar for hwoarang69
0
159
Member Avatar for hwoarang69

not sure where to post this but the problem is that i cant seem to compiler a program in unix. i am using unix: SunOS unix2.its.albany.edu 5-10 Generic_142900-06 sun4u sparc SUNW, sun-Fire-V440 1-create file emacs hello.cl(l = lower case L) 2.write program in "COOL" class Main { i : IO …

Member Avatar for rubberman
0
125
Member Avatar for Lisa Hoover

You can tell a lot about a company by the way they treat the employees lowest on its pay scale. Pay cuts and, yes, even layoffs are inevitable in today's economic climate. The decisions are painful, but they're often necessary and unavoidable. They aren't, however, a license to be callous …

Member Avatar for J_Swaine
0
343
Member Avatar for ulasoc

would you help me how i can connect a unix server and send a command using .net for example changing chmod of a file? Unfortunately there is no usefull information about this on net. But i want to do this using ftp server(not domain name or ip address)

Member Avatar for Nutster
0
304
Member Avatar for phfilly

Hi! I would just like to know is there a way you can overwrite the main.c file in the kernel folder(dir /usr/src/kernel/main.c) in MINIX 3. I want to change some code in the file(I know the risks involved) but the problem is I can't save it. I've tried logging in …

Member Avatar for phfilly
0
269
Member Avatar for New Abhi

Hi all, How to remove duplicates in Unix. Suppose i have file like bellow 1,primary,a 1,secondary,b 2,secondary,c 2,secondary,d i want the output as 1,primary,a 2,secondary,c Please give me the solution for this command.. Thanks in Advance..

Member Avatar for Member #838794
0
142
Member Avatar for under_dog

Hello! how can i view the source code of my distro? i mean, do we need that if we were to create a new system call? btw, i'm using centos 5.6 thank you in advance

Member Avatar for rubberman
0
114
Member Avatar for mynamekbk

Hello All, I have shell script which runs on unix box but recently we moved to windows box. I am completely zero in VB script I need you guys help to convert the below script to VB Thanks in advance for the help. CheckQDepth() { arch_log_file=`ls $arch_dir |grep $FNPARAM | …

Member Avatar for Member #838794
0
279
Member Avatar for ashiiiish

I want to encapsulate a FTP user to putside his home directory like i9f its homedir is /home/ftp/ash, then I want to encapsulate him in /home/ftp How to do this please help me its urgent...

0
149
Member Avatar for Gaiety

I have some strange problem which i started facing from yesterday. i have used GDB many times on my system , but yesterday when i started running GDB , my dubugger is enterings the library functions code part also which is very irritating for me. I mean if the program …

Member Avatar for _avishek
0
667
Member Avatar for SHASHWATH

Spiltter function split the sample.c program into 3 parts sample.dat.1 sample.dat.2 sample.dat.3 if its memory size is 300 and splited file wil hav 100 respectively . . And join function is opposite of it. . Its in unix example split -c <size> filename for join join file

Member Avatar for Ancient Dragon
0
123
Member Avatar for lewashby

/root/bin/go-lfs I need to add teh above to PATH. If I simply write "export PATH="$PATH:~/bin/go-lfs" will it cause a problem? I'M assuming that this would remove enerything already in PATH and that might cause problems for the duration of my shell. If so, how could I added it without overwritting …

Member Avatar for imamyth
0
141
Member Avatar for lewashby

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html Above is a list of commands from the LFS project. I'M building a script for this page I want to be sure I'M not fraking this up. Please pay special attention to the following: sed & unset - at the top case & esac and the threee cat & …

0
117
Member Avatar for khallebal

hi all all the deps were met,and autotools & ./configure run smooth,but make fails with the following error,tried with gcc2 & gcc4 environement,the same error, i hope to find some help here. here it is: In file included from xine.c:33:0: /boot/develop/headers/bsd/string.h:16:7: error: expected declaration specifiers or '...' before '(' token …

Member Avatar for rubberman
0
189
Member Avatar for talisien

Hello, Does anyone know how to connect to a ms sql server from a unix platform Below is the code i found. I've setup the slq server and allowed it to accept remote connection. Port 1433 is open for connection and firewall is configered to allow remote connection. The host …

Member Avatar for talisien
0
284
Member Avatar for VEL Hassan

Portmap failure & portmap: unrecognized service while entering the command service portmap start

Member Avatar for VEL Hassan
0
175

The End.