01-21-2002
c programming on vi
i am new in linux environment .I have used vi editor of Unix to get a programe compiled through "gcc ".kindly give me the options to get a program compiled & executed written in c on vi editor.
I want the command to compile a file and the command to get that compiled file executed with any example.
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
10 More Discussions You Might Find Interesting
1. Programming
i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies
2. Shell Programming and Scripting
Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do.
It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies
3. Programming
Sorry to ask this question here... where can I find a C++ programming thread? Thanks guys! (7 Replies)
Discussion started by: nadiamihu
7 Replies
4. Shell Programming and Scripting
Hello all!!
I am new to programming, and to this forum. :D
I am having sort of a problem. Me and my coworker are working on a code, both of us are stumped on a few things.
One is we have a whole log file, i have found how to extract by column, but not by row. I need to extract by both.:confused:... (7 Replies)
Discussion started by: xkayla06
7 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
6. Programming
Hi Guys,
I am willing to write some programs in C/C++ for Solaris machine.
I am pretty good in C++ programming for PC.
But I have some questions, while starting programming in solaris.
1. Which one is the most suitable & easy to use compiler?
(Most probabaly I will use vi editor to edit... (4 Replies)
Discussion started by: Asteroid
4 Replies
7. Programming
Can someone help me on suggesting some ways to access the memory content in RAM directly from C/C++ source code.
Please provide me any book name or any URL so that I can get an exhaustive
knowledge over it.
If possible please give me some tips on interacting with hardwares directly
through... (3 Replies)
Discussion started by: nandumishra
3 Replies
8. Shell Programming and Scripting
I have started writing one script. It is not taking the if block.
Here is the script:
#!/bin/sh
set USER='/usr/ucb/whoami'
#######################################################################
#Killing Process
#######################################################################... (6 Replies)
Discussion started by: amarpreetka
6 Replies
9. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
10. UNIX for Dummies Questions & Answers
Hello.
I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations:
1. Linux and iOS are UNIX-like systems, POSIX compliant.
2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies
LEARN ABOUT LINUX
netscript-compile
NET-COMPILE(8) System Manager's Manual NET-COMPILE(8)
NAME
netscript-compile - netscript ipfilter-defs compile back end.
SYNOPSIS
netcript-compile [ -fhq ] [ -b max-backup-level ]
DESCRIPTION
This manual page documents briefly the netscript-compile command from the netscript router/firewall network configuration package.
This command is the back end to the netscript compile command documented in netscript(8) manpage. See ipfilter-defs(5) for the details on
the definitions files in /etc/netscript/ipfilter-defs.
By default it checks to see if the relevant files in the /etc/netscript/ipfilter-defs directory have been updated by comparing their modi-
fication times to that of /etc/netscript/ipfilter-defs.conf, and if updating is needed, it recompiles and re-creates the file. Up to max-
backup-levels of history are kept of previously compiled /etc/netscript/ipfilter-defs.conf files, with a numeric extention in order of
increasing age.
OPTIONS
-b max-backup-level
Sets the maximum level of backups kept of previously compiled files. This defaults to 2 (see /etc/netscript/netscript-com-
pile.conf), and it is also used by the netscript(8) compile command.
-f Force compile even though compile file is up to date with definitions. The testing depends on the modification times of the defini-
tion file inodes in the file system.
-h
Show a summary of options.
-q Quiet compile. This option suppresses informational progress messages.
FILES
/etc/netscript/ipfilter-defs.conf,
/etc/netscript/ipfilter-defs-compiled.conf,
/etc/netscript/ipfilter-defs directory.
SEE ALSO
ipfilter-defs(5), netscript(8).
AUTHOR
This manual page was written by Matthew Grant <grantma@anathoth.gen.nz>, for the Debian GNU/Linux system (but may be used by others).
BUGS
I wrote this manpage when I was not half asleep...
March 25, 2003 NET-COMPILE(8)