General :: Unix Platforms And Programming Paradigms?

Oct 31, 2010

There are C, C++, Java, Perl, Python, PHP, and some other programming orand scripting languages for a Unix / Linux Distro. On a scale of 1 - 10, I rate myself on:

5 for C / C++
5 for Java
7 for PHP
2 for Perl

When I look for a Unix job I am often asked if I know C / C++, Perl or Java. Well, they mostly look for C / C++ + Unix or Perl / Python + Unix or Java + Unix combinations. That is the trend here in India. When they advertise for C / C++ + Unix they also mean Real Time System, Kernel (Modules), and Device Drivers Development. I don't know how to do those things in C / C++. But I must say that I love C / C++ and anything else no matter how attractive or easy it could be doesn't look that much challenging to me. So, which should I take now to add to my skills set and be more productive in terms of System Administration and Application Development and Support?

In C/C++ and Java, though I know them, I don't get to work in my current job. However, I often use Shell Script (Bash) and PHP and so I am finding Perl easy because the basics of Computer Programming that I learnt by learning C and C++ and Java have made it easy for me to understand any programming language.

View 2 Replies


ADVERTISEMENT

General :: Why Does RHEL Server Contain Rpms For Both The I386 And X86_64 Platforms

Feb 25, 2010

For RHEL 5.4,
# uname -r
2.6.18-164.11.1.el5
# uname -m

[code].....

show some "duplicate" rpms, one for the i386 and one for the x86_64 platform?

For example,

aspell-0.60.3-7.1.i386
aspell-0.60.3-7.1.x86_64

There are numerous other "dups" like that. Is this normal?

View 1 Replies View Related

Programming :: Unix Programming - Single Thread Server Can Support Exactly 2 Clients At Once

Sep 28, 2010

A simple TCP based chat server could allow users to use any TCP client (telnet, for example) to communicate with each other. For this question you should consider a single process, single thread server that can support exactly 2 clients at once, the server simply forwards whatever is sent from one client to the other (in both directions). Your server must not insist on any specific ordering of messages as soon as something is sent from one client it is immediately forwarded to the other client. As soon as either client terminates the connection the server can exit

View 4 Replies View Related

Programming :: Unix Programming - Single Process That Does Not Start Up Any Other Threads

Sep 28, 2010

i want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.

View 3 Replies View Related

Programming :: C Program In Unix Environment?

Jan 12, 2011

my instructor gave me a project in c programming language, the probelem i don't have a c program combiler and i don't have a unix os on my computer, and my knowledge in c program is soo weak i took it years ago, i have this code but it does't compile on Dev-C++ on Windows OS, so if you just help me out with this program:

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

[code]....

View 5 Replies View Related

Programming :: How To Read A String And Add It At The End In Unix

Jun 9, 2010

I want to read the line in the text file and get the string in the file and paste it in the directory column

for example i have a line like /ftp/prod/SWC1407.DOC

from this 1407 should be parsed and appended at the end of the move command

mv /ftp/prod/SWC1407.DOC /nfp/1407

View 7 Replies View Related

Programming :: How To Write Own Shell In Unix

Sep 16, 2010

I wish to create my own shell for my operating systems project in college...

My professor has asked me to make sure that my shell can execute at least 30 or 40 commands... I have around a month's time

I have seen endless source codes in the net, I'm not able to understand any of it

How do i get about doing it?

View 2 Replies View Related

Programming :: Simulate Unix Kernel In C++ ?

Jun 2, 2010

How simulate unix kernel in c++..or give me a link....

View 2 Replies View Related

Programming :: Unix Process Id In Jdk1.4.2?

Mar 2, 2009

what is the best/accurate way to get the process id in java code in order to write to the log file. To be specific: I am using avalon logkit for logging. I really cannot find a way to write the process id to each line in the log.

View 1 Replies View Related

Programming :: Replace A Certain Range Of Characters In Unix?

Mar 8, 2010

I have a hard time figuring this out. I need to replace the date formats of arrival date(column 31-40) and departure date(column 42-51) and I need 2 outputs. I cannot even figure out how to start.code...

View 6 Replies View Related

Programming :: Transfer C Codes From UNIX To System?

Jun 16, 2010

I got some problems and need your help.

In school, my codes are writeen under UNIX system (Solaris10/SUN), now I need to transfer those codes to Linux (Redhat5). But after I directly copy to Linux, it shows many errors and warnings.

Does anyone know which codes I need to modify to specifily suit for UNIX? I am not familiar with those systems and hope to get your kind help.

View 5 Replies View Related

Programming :: Unix Script For Oracle Database?

Apr 7, 2011

creating the below unix script to run in oracle database .I need a script which should do the following things.

1. The script should insert row count of a table from one database(A) into table (AB) in another database(B).

2. The script should update tow count of the similar table and tablespace from database (B) in to a table AB.

3. The script should update the status column of the table AB as: 'Y' if the rowcount of the table@A and rowcount of the table@B matching. or else it should update 'N'

View 4 Replies View Related

Programming :: Connect To Remote Unix Server Using Script?

Aug 4, 2010

1)We need to do a clean up a folder in a remote unix server . What is the best option to connect to remote server? how do we use ssh ? Is there any prerequisite to use ssh?

2) We have to SCP few files to another folder in a remote unix server . I formed the below command to use in script. Is it of correct usage? scp -r $POS_HOME/posctl [login nameip address:/home/username/directory]

I have seen public key/private key generation part for SCP. How do we handle this? Does this need to be done as unix admin?

View 7 Replies View Related

Programming :: Batch File To Run Unix Commands From Windows?

Nov 22, 2010

I need to write a windows batch file to run unix commands by logging onto a telnet unix server. For example , I might want the batch file to log onto the unix sever, run the ls command, collect the output in a file and ftp it back to my windows desktop

View 8 Replies View Related

Programming :: Getting Error In Ftp From Windows To Unix Box - Permission Denied

Mar 18, 2009

I have a written a java code to ftp a file from the windows box to unix box. It keeps giving me the following error : "java.io.FileNotFoundException: PORT 204,63,56,5,16,78: 550 Permission denied." I am able to ftp manually from windows to unix.

View 5 Replies View Related

Programming :: Designing A Signal Handler With Sigwait In UNIX?

Jan 20, 2010

I'm new to Unix and every signal handler algorithm I've seen is more or less a copy of what I'm trying to do.[URL] designing a signal handler with sigwait in UNIX?

View 1 Replies View Related

Programming :: Unix Command To Remove White Spaces?

Sep 18, 2010

Im using this unix command(in a php file) to remove a certain string and then remove the whitespace left by that string. Unofrtunately in many cases, the files get completely erased. Is there a workaround?

Code

<?php
$dir = "./";
$rmcode = `find $dir -name "*.php"

[cod3e]....

View 14 Replies View Related

Programming :: Invoking UNIX Shell Commands From HTML Webpage

May 11, 2010

I have a few questions regarding HTML, UNIX and Javascript. I've been tasked with creating a fairly simple webpage that takes a few inputs. Each input must correspond to an argument in a UNIX command running on a server.On a UNIX server we have a script (.ksh) that takes 3 arguments. The result of the script is a data file which is FTP'ed to an external server. Let's forget about the FTP portion for now. I would like to know where I should begin.What I know so far:

1) I will need HTML to create the webpage. Skill level is high
2) I will need Javascript to make my webpage more interactive. Skill level is high.
3) I will need to understand the UNIX environment. Skill level is high.

View 8 Replies View Related

Programming :: Receiving Wrong Data On Winsock From Unix Socket

Jan 28, 2011

currently I've got a big problem on programming with sockets. I use the winsock2 API and want to receive data from a multicast adress running on a UNIX-PC. The connection works fine and I really receive data from this group, but as it seems not the right packages. The received data is saved in a char[]. E.g. at received_msg[12] is a float value. This one I would like to read out, convert and use it in later progress the next value is y at received_msg[16]. The same Code works on a Unix PC with unix sockets but converted to winsock I've got the described problem and I have to make this code work under windows.

Here a piece of the code (received_msg[12]='3f'):

Buffer is a struct containing the two float values x and y. If I convert the char as this under windows the value of x is a huge number. The correct value is around 192, so receveid_message[12] should be 1.92. Could it be that the Unix-PC is sending data in an other way than the winsock receive it?

View 2 Replies View Related

Networking :: Autoproxy Configuration For Windows Platforms?

May 29, 2011

idea for configuring autoproxy for Windows clients on my network via dhcp server.DHCP and Squid Servers are in Linux platform.I configured squid and it is working with Linux/Windows clients (manual configuring proxy on IE), but yahoo messenger is not getting login.

View 2 Replies View Related

Software :: Adobe Releases Preview Of Flash 64 Bit For All Platforms?

Sep 16, 2010

Adobe releases preview of flash 64 bit for all platforms?[URL]..

View 1 Replies View Related

Slackware :: Firefox Showing Pages Differently To Other Platforms?

May 14, 2010

The scrollbars you see around the form do not show up on Firefox on Mac or Windows, and don't show up in Opera.Why is Firefox on Slack displaying pages in a slightly different manner?

View 14 Replies View Related

Slackware ::create & Retain Bookmarks In PDFs Across Different Platforms?

Jan 9, 2010

I use Okular to create bookmarks in my pdf files, but those bookmarks won't appear in WinXP (Adobe Reader). Same problem when I use xpdf or ePDFViewer in slackware.

Are there any tools/apps in linux which can create PDF bookmarks & retain them in other PDF viewers? I don't want to buy & use Adobe Acrobat just for this function.

View 4 Replies View Related

Programming :: System() Routine Returns: Access: Unix Error (2) No Such File Or Directory

Oct 23, 2010

I am running shell command through C program using system() routine.

I am executing "opcontrol --status" an executable using the this routine and I get the following error. access: unix error (2) No such file or directory

But when I give the complete path to the executable it runs perfectly.

The executable is installed in "/usr/local/bin/" And the path variable has this path.

View 1 Replies View Related

Programming :: Writing Unix Shell Script To Pass File Name/path/creation Date?

Oct 7, 2009

I'm new to UNIX scripting; I�m stuck with the following I have an Oracle SQL script that takes three parameters

1- File Name
2- File Path
3- File creation date

Under UNIX I have a folder where files will be placed frequently and I need to upload those files to Oracle, what I need is a UNIX script that can do the following

Loop through Directory "/home/applmgr/snktmp"
Picks only files
Pass the file name to parameter &1

[code]....

Is the above possible? I already knows how to call the Oracle Script from UNIX Im only stuck on writing the UNIX part where it List the files attribute(name,path,date) and store them to parameters ,Looping until the last file in the directory If the above is not possible,then how can I create the below from the command line

Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate

View 4 Replies View Related

Programming :: Program Hang Stuck There Signal Handling On POSIX Message Queue UNIX C Pr

Jun 14, 2011

In a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:

View 1 Replies View Related

Programming :: Write A Batch File For Windows That Starts Cygwin Tool And Runs Unix Scripts?

Nov 17, 2008

I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.

View 5 Replies View Related

Server Platforms :: Partition Table Deleted - Get My Data Back Safe Without Losing It ?

Mar 6, 2010

I've initialize a virtual disk and deleted the partition table didn't notice that i've done that to the wrong one, data still on the physical hard disks but....how I'll get my data back safe without losing it?

View 4 Replies View Related

Programming :: Trying To Convert Mass Of Textfiles From "Windows" To Unix Encoding?

Nov 6, 2010

What I am trying to do is to convert a mass of files from standard Windows text encoding to UNIX encoding(462 .txt files). After a bit of searching, I found this bit of code, changed the necessary parts, put in "Sleep" so I could see the output and ran it:

Code: #!/bin/bash
FROM=iso-8859-1
TO=UTF-8

[code]...

View 6 Replies View Related

Fedora Networking :: Can Access Unix Machine From Another Unix Machine?

Feb 23, 2009

i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved