01-25-2012
Quote:
Originally Posted by
aigoia
UNIX system programming means things like these : writing a shell, writing a fsck program for your favourite file system, writing a daemon for your UNIX/UNIX-like OS, writing your version of ps. So it means writing code that heavily depends on the system calls, that does things close related to the UNIX system. It means coding basic (and necessary) utilities used every day by you/sysadmin. To be a UNIX system-programmer, you must understand well UNIX concepts, UNIX system and library calls -- that is, (2) and (3) sections in man pages, and to understand how thinks are being done (e.g., what daemon(3) does, not simply using daemon() function).
Some books that help:
1. Advanced Programming in the UNIX Environment, 2nd edition
2. Advanced UNIX Programming
3. The Linux Programming Interface
4. Linux System Programming
5. UNIX Network Programming, vol.2, 2nd edition : interprocess communication
6. UNIX Network Programming, vol.1, 2nd, 3rd editions : network programming
Note that there is also UNIX kernel programming, that is programming kernel modules or programming code right in the kernel. Stuff that is in the (9) section of BSD man pages.
---------- Post updated at 02:27 PM ---------- Previous update was at 02:17 PM ----------
Again :
System programming is different from application programming because s.p. deals with basic and needed functionality added to the (UNIX) system, while application programming focuses on getting a working program for your/your customer need.
Since you said you love UNIX, there is no better way to love it
than to program on it. (And also to admin it.)
Thanks alot for this wonderful guidance. Could you please tell me one more thing. Which UNIX should I go with, I mean which UNIX has the most demand, or which UNIX is simply the best. Once again I don't why but I love Solaris, do I have a good future career if I stick only to Solaris and learn it thoroughly??? Or should I also concentrate on Linux or freebsd etc as well?
Thanks
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
this is very urgent plzzzzzzzzzzzzzzzz........... (0 Replies)
Discussion started by: stalin2020
0 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,
I've almost finished "Advanced Linux Programming" book. However, I feel as if I need dig deeper in IPC specially socket programming as well as multi-threading. Can anyone recommend a good book (preferably publically available)? (5 Replies)
Discussion started by: jaywalker
5 Replies
7. 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
8. 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
9. 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
10. UNIX for Advanced & Expert Users
Hi,
I was working in an IT firm. My stream was UNIX, C, C++.
worked for an year and half and then left the job.
there has been a gap of 2 years already and wanna get back again. i have some 6 more months to that. want to do some certification to help me get back.
c,c++ are fine. unix system... (1 Reply)
Discussion started by: niaR
1 Replies
LEARN ABOUT CENTOS
datetime::timezone::local::unix
DateTime::TimeZone::Local::Unix(3) User Contributed Perl Documentation DateTime::TimeZone::Local::Unix(3)
NAME
DateTime::TimeZone::Local::Unix - Determine the local system's time zone on Unix
VERSION
version 1.63
SYNOPSIS
my $tz = DateTime::TimeZone->new( name => 'local' );
my $tz = DateTime::TimeZone::Local->TimeZone();
DESCRIPTION
This module provides methods for determining the local time zone on a Unix platform.
HOW THE TIME ZONE IS DETERMINED
This class tries the following methods of determining the local time zone:
o $ENV{TZ}
It checks $ENV{TZ} for a valid time zone name.
o /etc/localtime
If this file is a symlink to an Olson database time zone file (usually in /usr/share/zoneinfo) then it uses the target file's path name
to determine the time zone name. For example, if the path is /usr/share/zoneinfo/America/Chicago, the time zone is "America/Chicago".
Some systems just copy the relevant file to /etc/localtime instead of making a symlink. In this case, we look in /usr/share/zoneinfo
for a file that has the same size and content as /etc/localtime to determine the local time zone.
o /etc/timezone
If this file exists, it is read and its contents are used as a time zone name.
o /etc/TIMEZONE
If this file exists, it is opened and we look for a line starting like "TZ = ...". If this is found, it should indicate a time zone
name.
o /etc/sysconfig/clock
If this file exists, it is opened and we look for a line starting like "TIMEZONE = ..." or "ZONE = ...". If this is found, it should
indicate a time zone name.
o /etc/default/init
If this file exists, it is opened and we look for a line starting like "TZ=...". If this is found, it should indicate a time zone name.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.3 2013-10-28 DateTime::TimeZone::Local::Unix(3)