408 Topics

Member Avatar for
Member Avatar for Airshow

[B]Environment[/B] Development: Amazon EC2 instance. Operational: Unknown at this time [B]Scenario[/B] This is a *nix question but things start out in php, so please bear with me. I'm trying to get php script (php_script_1) to to run another php script (php_script_2) in the background. This will allow php_script_1 to complete …

Member Avatar for Airshow
0
398
Member Avatar for nikita.

what is the use of [code]unix-stream("path/to/file");[/code] I can't seem to find it anywhere.

Member Avatar for L7Sqr
0
102
Member Avatar for RohitSahni

mY QUERY IS RELATED TO.. How can i set coloumn width in unix... Like for ex. i am having a file, whose content is like ------------------------------ aba bba baba abba baba baaa addd ffff fffff ----------------------------------- i want it to be like ----------------------------------- aba bba baba abba baba baaa addd …

Member Avatar for L7Sqr
0
2K
Member Avatar for nikita.

Hi , I want to run a shell script which is present in another user's id after switching it to that user in the same script. but it is not taking it. I m using the su command for that. [code] su - user1 -c "./${HOME}/script1.sh" [/code] it just says …

Member Avatar for nikita.
0
170
Member Avatar for efronefron

the problem is if you increase buff size and also change the buff size in a3_fgets_2 function call to more than 15, the program will run in an infinite loop, Can anybody tell me why? Thanks [CODE]#include<unistd.h> #include<string.h> char * a3_fgets ( char * str, int num, int fd ); …

Member Avatar for efronefron
0
266
Member Avatar for sofia85

Hi, I don't understand how to write unix shell commands in python. I have this txt file were I want to delete duplicates. It looks something like this: RTGR.txt FRTO.txt RTGR.txt SDOP.txt QWJL.txt SDOP.txt FRTO.txt FRTO.txt ...etcetc... I think I'm suppose to import os and then I want to use …

Member Avatar for sofia85
0
139
Member Avatar for Efficience

I have written a code for checking vfork in unix. But I am getting the ambiguous behavious. When I am using exit(0) in child process , output is fine i.e; output :- Before fork I am a child My name is parent child PID=> 23133 kValue => 2 ] But …

Member Avatar for Efficience
0
293
Member Avatar for nikita.

I want to write a shell script to automate the ftp session, in that it should take the inputs like the server ip , username , password from a different file who path i'll pass. and also the validations that if the server path exits or not.

Member Avatar for nikita.
0
202
Member Avatar for vlowe

i need to create a unix timestamp in milliseconds like 1319031463499 to post to an web service. tried all sorts and cant get it. i have googled and keep getting strange years?

Member Avatar for mschroeder
0
17K
Member Avatar for nikita.

I have to run a shell script and store whatever is performed in it into a log file. the path can be altered for the log file. how can i do that ?

Member Avatar for nikita.
0
4K
Member Avatar for noobrobot

I need to write a program transfer huge amount of files(60 GB) from my application server running on hp-unix to a remote PC . I haven't worked in hp-unix before. 1.Is it possible to run a sshd server using some shell command in hp unix and connect to the sshd …

0
47
Member Avatar for munitjsr2

consider a list of files in a particular directory(LIST A) 58623208 Sep 14 20:08 blbn_blfbe_drv 57904920 Sep 14 19:54 blbn_cycmn 55814208 Sep 14 06:02 clsa_Upd 38912000 Sep 14 19:12 cs_chgpp and in another directory (LIST B) 58623208 Sep 14 20:08 blbn_blfbe_drv 57904920 Sep 14 19:54 blbn_cycmn 55814208 Sep 14 06:02 …

Member Avatar for L7Sqr
0
211
Member Avatar for hatebin

Hello ! As I wrote in the title. I'm looking for a Java command wchich is simmilar to ' tr -s" " ' in UNIX. tr -s"[sequence]" : Replace each input sequence of a repeated character that is listed in SET1 with a single occurrence of that character. thanks for …

Member Avatar for Taywin
0
124
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
160
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
210
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
143
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 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
168
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
72
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
501
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
74
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
112
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
227
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
193
Member Avatar for Billy D

Hey everybody. I was wondering if this is possible, and if it is, why it isn't working. When you right-click an application (.app), there is an option for "Show Package Contents." If you select that option, it opens up a "Contents" folder. Inside that folder, there are multiple folders, but …

Member Avatar for jingda
0
189
Member Avatar for Rickay

I'm not really sure what the proper forum for this is. Basically, I have compiled a small program (written in C++) that I want to execute. It first creates an AppleScript, then runs it. But, when the program is run (it is a 'Unix executable file'), I want to to …

Member Avatar for Rickay
0
265
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
173
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
328
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
165
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
174

The End.