11-19-2010
The original APUE from Steven's has been reworked by Rago, which gave birth the APUE 2nd edition, see
APUE2e. This book is good, no point.
The most recent and comprehensive resource about UNIX system programming, is in my opinion Michael Kerrisk's book:
The Linux Programming Interface . While this book deals with Linux specifics, it emphasizes on UNIX standards and writing portable programs.
HTH,
Loïc
This User Gave Thanks to Loic Domaigne For This Post:
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I am working on a c program (in a unix environment) making system calls. My program makes references to POSIX, _POSIX_SOURCE 1. When trying to compile the c program, I received a message "Language optional software package not installed."
I am not sure if this message refers to... (3 Replies)
Discussion started by: rachael
3 Replies
2. Programming
hey there
i have to execute commands that are written on the command line in unix. i have already separated the commands into tokens but now im stuck with the problem of how to actually execute those commands.
eg: lets say the user entered " ls -l" to list all the files in a directory
... (1 Reply)
Discussion started by: mile1982
1 Replies
3. Programming
please tell me the best book for Unix's System programming.....
so that i become expert in System programming.I have completed shell programming and i know C programming in Unix.
please tell me which book i should prefer...
-ajit (1 Reply)
Discussion started by: ajit_gupta
1 Replies
4. Programming
Hi there,
Am very very interested in system level programming in C????
Please give me a good site or a sample program to start with..
will be of a great help to me..
Thanks,
Nisha (7 Replies)
Discussion started by: Nisha
7 Replies
5. Programming
Dear Sir,
How to write Code using JAVA technology for system programming ? I want to develop a new compiler for my own language.
thanks in advance
roy (1 Reply)
Discussion started by: swapan
1 Replies
6. 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
7. Programming
Hi friends,
Hope u r doing well. I really find the phrase, "Unix System Programming" very very cool, I don't know the reason, but it since I love UNIX, I want to do system programming in unix. Could you please tell me what is really the meaning of unix system programming. I have a couple of books... (5 Replies)
Discussion started by: gabam
5 Replies
8. Programming
newPerm = oldPerm & ~0100;
where oldPerm holds the value of st_mode from the system call stat().
When I try and compile every line where ive attempted to do these operations gives the warning "parameter names without declaration types in function declaration". what could be the problem? the... (2 Replies)
Discussion started by: bjhum33
2 Replies
9. Shell Programming and Scripting
Hi All
I want to learn System programming with the help of Unix.
System Programming mean to say
1) Playing with the memory of computer
2) Designing some graphical units
Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
2 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 FREEBSD
freebsd-update
FREEBSD-UPDATE(8) BSD System Manager's Manual FREEBSD-UPDATE(8)
NAME
freebsd-update -- fetch and install binary updates to FreeBSD
SYNOPSIS
freebsd-update [-b basedir] [-d workdir] [-f conffile] [-k KEY] [-r newrelease] [-s server] [-t address] command ...
DESCRIPTION
The freebsd-update tool is used to fetch, install, and rollback binary updates to the FreeBSD base system. Note that updates are only avail-
able if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds
updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 7.3-RELEASE and FreeBSD 8.0-RELEASE, but
not FreeBSD 6.3-STABLE or FreeBSD 9.0-CURRENT.
OPTIONS
The following options are supported:
-b basedir Operate on a system mounted at basedir. (default: /, or as given in the configuration file.)
-d workdir Store working files in workdir. (default: /var/db/freebsd-update/, or as given in the configuration file.)
-f conffile Read configuration options from conffile. (default: /etc/freebsd-update.conf)
-k KEY Trust an RSA key with SHA256 of KEY. (default: read value from configuration file.)
-r newrelease
Specify the new release to which freebsd-update should upgrade (upgrade command only).
-s server Fetch files from the specified server or server pool. (default: read value from configuration file.)
-t address Mail output of cron command, if any, to address. (default: root, or as given in the configuration file.)
COMMANDS
The command can be any one of the following:
fetch Based on the currently installed world and the configuration options set, fetch all available binary updates.
cron Sleep a random amount of time between 1 and 3600 seconds, then download updates as if the fetch command was used. If updates
are downloaded, an email will be sent (to root or a different address if specified via the -t option or in the configuration
file). As the name suggests, this command is designed for running from cron(8); the random delay serves to minimize the proba-
bility that a large number of machines will simultaneously attempt to fetch updates.
upgrade Fetch files necessary for upgrading to a new release. Before using this command, make sure that you read the announcement and
release notes for the new release in case there are any special steps needed for upgrading. Note that this command may require
up to 500 MB of space in workdir depending on which components of the FreeBSD base system are installed.
install Install the most recently fetched updates or upgrade.
rollback Uninstall the most recently installed updates.
IDS Compare the system against a "known good" index of the installed release.
TIPS
o If your clock is set to local time, adding the line
0 3 * * * root /usr/sbin/freebsd-update cron
to /etc/crontab will check for updates every night. If your clock is set to UTC, please pick a random time other than 3AM, to avoid
overly imposing an uneven load on the server(s) hosting the updates.
o In spite of its name, freebsd-update IDS should not be relied upon as an "Intrusion Detection System", since if the system has been tam-
pered with it cannot be trusted to operate correctly. If you intend to use this command for intrusion-detection purposes, make sure you
boot from a secure disk (e.g., a CD).
FILES
/etc/freebsd-update.conf Default location of the freebsd-update configuration file.
/var/db/freebsd-update/ Default location where freebsd-update stores temporary files and downloaded updates.
SEE ALSO
freebsd-update.conf(5)
AUTHORS
Colin Percival <cperciva@FreeBSD.org>
FreeBSD July 14, 2010 FreeBSD