06-01-2012
Practice and graded self study.
Install a linux at home or among friends and
- learn basic commands. I used to have a starter list - ls, mv, cp, cd, mkdir, vi, who, ps, sed, grep, concept of PATH
- Next learn scripting (awk, and shell scripting),
- Then how to compile a c/c++ programme and download a tarball.
Having done this for about an year or two, you can begin to read up books on "Design of the Unix operating system".
OK
9 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
http://www.bangkokpost.com/020403_Database/02Apr2003_datacol59.html (0 Replies)
Discussion started by: Neo
0 Replies
2. AIX
Hello,
I've been reading the AIX 5.1 System Concepts PDF but I'm still confused about some file-system concepts and their relationships.
What is the 'allocation group size'?
How are 'disk allocation unit'/'fragment size', NBPI and 'allocation group size'?
And how are the above three... (2 Replies)
Discussion started by: quickfirststep
2 Replies
3. Shell Programming and Scripting
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced. Each product will be produced in different production line. Ready products will be placed
in a buffer area located at the end of each production line. Packaging workers will pack the... (1 Reply)
Discussion started by: paradise
1 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced.... (1 Reply)
Discussion started by: paradise
1 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced.... (0 Replies)
Discussion started by: paradise
0 Replies
6. UNIX for Advanced & Expert Users
Hi
I was reading some weblog on the internet and someone made an interesting statement.
<quote>
Linux is kernel and solaris is operating system
</quote>
Honestly I don't understand the difference between term kernel and operating system in above quote.
Could you explain me more ?
thx... (4 Replies)
Discussion started by: presul
4 Replies
7. Ubuntu
we designed a primitive operating system for learning basics fundamentals and we created process switching, interrupt/polled IO for device drivers like UART and printers. We accomplish this by using our own tools called SPEDE (for downloading compiled elf image from host ubuntu system that have... (0 Replies)
Discussion started by: bicepjai
0 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I have a PC (laptop), where ram is 1 GB, hard disk is 400 GB, Now in my PC has window7 & oracle 10g, suppose if we now installed linux then will my system work or we should remove window7 now, please let me know that which linux version is take less space in PC. (3 Replies)
Discussion started by: aaditya321
3 Replies
9. Linux
Dear Gurus/Experts of UNIX/LINUX,
Im Isravel from India, I've customized CentOS Installation ISO as per my new product requirements. I want to give serial key authentication to the clients who all are trying to install ISO file.
Can anyone guide me how to create serial key authentication... (1 Reply)
Discussion started by: isravelraja
1 Replies
LEARN ABOUT DEBIAN
upscli_list_start
UPSCLI_LIST_START(3) NUT Manual UPSCLI_LIST_START(3)
NAME
upscli_list_start - begin multi-item retrieval from a UPS
SYNOPSIS
#include <upsclient.h>
int upscli_list_start(UPSCONN_t *ups, int numq, const char **query)
DESCRIPTION
The upscli_list_start() function takes the pointer ups to a UPSCONN_t state structure, and the pointer query to an array of numq query
elements. It builds a properly-formatted request from those elements and transmits it to upsd(8).
Upon success, the caller must call upscli_list_next(3) to retrieve the elements of the list. Failure to retrieve the list will most likely
result in the client getting out of sync with the server due to buffered data.
USES
This function implements the "LIST" command in the protocol. As a result, you can use it to request many different things from the server.
Some examples are:
o LIST UPS
o LIST VAR <ups>
o LIST RW <ups>
o LIST CMD <ups>
o LIST ENUM <ups> <var>
o LIST RANGE <ups> <var>
QUERY FORMATTING
To see the list of variables on a UPS called su700, the protocol command would be LIST VAR su700. To start that list with this function,
you would populate query and numq as follows:
int numq;
const char *query[2];
query[0] = "VAR";
query[1] = "su700";
numq = 2;
All escaping of special characters and quoting of elements with spaces are handled for you inside this function.
ERROR CHECKING
This function checks the response from upsd(8) against your query. If it is not starting a list, or is starting the wrong type of list, it
will return an error code.
When this happens, upscli_upserror(3) will return UPSCLI_ERR_PROTOCOL.
RETURN VALUE
The upscli_list_start() function returns 0 on success, or -1 if an error occurs.
SEE ALSO
upscli_fd(3), upscli_get(3), upscli_readline(3), upscli_sendline(3), upscli_ssl(3), upscli_strerror(3), upscli_upserror(3)
Network UPS Tools 05/31/2012 UPSCLI_LIST_START(3)