04-22-2010
Please give me some advise to program for unix/linux using c/c++?
I have a good foundation of c++.I want to learn to program for linux/unix,can you give me some advises,for example classic books ,which operating system is used better(freebsd,solaris,federal linux.etc),and which aspects uses mostly in job.Can you give me clear direction for working or learning.
10 More Discussions You Might Find Interesting
1. Programming
Hello there,
I have the following mission for my internship:
- Take an existing program which uses OpenGL writen in Delphi, for Windows.
- Write this program in C++ for all operating systems from which the name end on a "X"
So, what kind of features does this program need.
- There... (1 Reply)
Discussion started by: lmnt22
1 Replies
2. Programming
Hi Friends,
When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this.
Thanks in advance,
Praveen. (11 Replies)
Discussion started by: chprvkmr
11 Replies
3. HP-UX
Hi ,
I have query regarding to get a program name given a pid in HP-Ux .
give procees id ( PID) i would like to retrieve the process/program through a C program ?
my input to c program will be will be pid and i would like to know what is process name /program name .
Many Thanks ... (1 Reply)
Discussion started by: naren_chella
1 Replies
4. Shell Programming and Scripting
Hi, everyone:
I post a new thread because previous post may sink and I hope the new one can be caught by your eyes.
I created a shell script and the script works fine. However, the mail program part on script didn't send email to my email box and it also didn't provide any traceable... (7 Replies)
Discussion started by: duke0001
7 Replies
5. Windows & DOS: Issues & Discussions
I am sure this question has been asked and answered before, also, if it is the wrong catergory, please let me know.
I would like to know how, if possible to run Unix/Linux as my operating system, and then load XP as a program? (I am open to other operating systems, but it has to be able to... (3 Replies)
Discussion started by: mountainwolf
3 Replies
6. UNIX for Dummies Questions & Answers
Hi everyone
I need help i want to learn Unix and do some certification on Unix Hp the reason why i choose Hp is because the company that i work for uses HP and interested in knowing a lt more
about what i do i montor the unix server (disk space CPU usage memory utilization,proceeses job... (5 Replies)
Discussion started by: liema
5 Replies
7. Shell Programming and Scripting
I have a shell script that is attempting to call a c program.
I call the c program with ./dictool
dictool accepts arguments at runtime. It works by prompting the user for various commands, acting on those commands, spitting out an output, and then prompting for more commands.
My question is,... (1 Reply)
Discussion started by: aarongoldfein
1 Replies
8. Linux
Hi all,
First off, Happy New Year.
Just recently bought a Gateway/Acer 16GB laptop that comes pre-installed with Windows8 and 500GB drive. I also bought a 1TB external drive.
I need to install several Linux Distros on it, Ubuntu, CentOS, Oracle Linux, Fedora, SuSE, that's just for... (1 Reply)
Discussion started by: newbie_01
1 Replies
9. Shell Programming and Scripting
Hi Friends,
I am running a program
/path/to/program -i 1 100 -o /path/to/output/op_1_100.txt
In the above command, I have to try various number of combinations at the -i parameter and the output file name varies with each combination.
Now, I have my -i parameter text file, which is like... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
10. Shell Programming and Scripting
Hi ,
Below is the script which prints result in json but when i validate it has some tab or extra space issues.
JSON result
{
"data":
}
This is the line I tweaked. Please advise.
print "\t{", "\"{#NAME}\":\""+container+hn+"\"}"
#!/usr/bin/env python
# (2 Replies)
Discussion started by: ashokvpp
2 Replies
LEARN ABOUT CENTOS
uml_switch
UML_SWITCH(1) General Commands Manual UML_SWITCH(1)
NAME
uml_switch -- switch daemon for user-mode Linux
SYNOPSIS
uml_switch [-unix control_socket data_socket] [-hub] [-tap tun device] [-compat-v0] [-daemon]
DESCRIPTION
This manual page documents briefly the uml_switch program.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
uml_switch is a daemon for managing a virtual network between user-mode Linux systems, with no connection to the host system's network.
It will listen for connections on a pair of UNIX domain sockets, and forward packets between clients which connect to them.
OPTIONS
-unix control_socket data_socket
Listen on the specified pair of sockets, instead of the defaults.
-hub Act like a hub. This means that packets received will be broadcast over all virtual links. The default is to act as a switch,
where packets are only sent to the link matching the destination MAC address of the packet.
-tap tap device
Connect the switch to a dynamically created tap device on the host
-compat-v0
Specify control protocol version 0 compatibility.
-daemon Run in the background as a daemon.
SEE ALSO
linux(1)
The UserModeLinux-HOWTO (link to URL http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html)
AUTHOR
uml_switch was written by Jeff Dike and others.
This manual page was written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
UML_SWITCH(1)