Sponsored Content
Top Forums Programming put the prog asked in your interview Post 302144413 by porter on Thursday 8th of November 2007 02:06:02 AM
Old 11-08-2007
Somebody once said "Give a man a fish..."

(a) what is the fibonacci sequence?

(b) how would you sequence on paper?

(c) how would you automate that process?

(d) do you know what recursion is?

(e) is it actually essential here?
 

10 More Discussions You Might Find Interesting

1. Programming

log user off from c prog

ok, heres what i want i need....well want, hehe... in a program, its a simple menu, i need to log the user running the program off...back to the login prompt. this is not a super user, just a normal account. i know i could just set the program to be the users login shell..but i'd rather do... (1 Reply)
Discussion started by: acromi
1 Replies

2. Programming

Very simple Unix Prog in C, could use advice/help

I just want to get the read() system call to do it's thing! LOL It's now 3:30 AM in the morning, and as I'm the stubborn type I don't like to go to bed with unsolved code :) However I submit humbly now to anyone who can show me what my dumb mistake is. The program imitates a daemon process that so... (6 Replies)
Discussion started by: johnsonmj
6 Replies

3. Solaris

c prog gives segmentation fault

hello , I have a C program which runs perfectly on linux but gives a segmentation core dump when i try to run it on solaris. The compilation of the c code happens without any errors on solaris. Any pointers thanks Nayeem (2 Replies)
Discussion started by: nayeemmz
2 Replies

4. Shell Programming and Scripting

shell script prog help

How to write a program to store the list of ordinary files and the directory files in the specified directory in two files called dir.dat and ord.dat. Then print the largest directory and largest file? (1 Reply)
Discussion started by: rameshparsa
1 Replies

5. Shell Programming and Scripting

how to write shell prog

how to write shell program. EX : to check whether a string is a palindrome or not. (9 Replies)
Discussion started by: raram
9 Replies

6. Linux

invoking a java prog

Can any1 guide me how to invoke a java program from a sh file. do i need to set up the class path. how to include the needed jar files. (1 Reply)
Discussion started by: Dine
1 Replies

7. UNIX for Dummies Questions & Answers

Books on Linux Prog..

Hi everybody, Can anyone suggest me some good books on Linux Prog.. I know richard stevens is always there.. But any specific books on Linux Porgramming and Networking in Linux.. Wud be of great help if anybody replies.. (4 Replies)
Discussion started by: srikumar_cs
4 Replies

8. Infrastructure Monitoring

Could not register prog

Hello guys, this solaris 10 on V480, does anyone know what do below errors indicate? I get them at console when system boots. server: svc_tp_create: Could not register prog 300598 vers 1 on udp Nov 11 16:57:43 servername server: svc_tp_create: Could not register prog 300598 vers 1 on tcp... (2 Replies)
Discussion started by: upengan78
2 Replies

9. Programming

C prog Segmentation error.

Hello Friends, I made this program, it is running fine. when i try to add this line of code in to do repeat. It is giving segmentation error. can you please tell me how should i fix tht error. program runs fine. when i add char r; if statement while (ch r ='y') some cofe... (4 Replies)
Discussion started by: Learnerabc
4 Replies

10. Debian

Help socket prog

HI Can anyone provide me with codes for file transfer server to client or vice versa? Also please explain how to compile those programs in ubuntu terminal as i am totally new to socket programming. Thanks (0 Replies)
Discussion started by: mayhemtrigger
0 Replies
PAPERCONF(1)						      General Commands Manual						      PAPERCONF(1)

NAME
paperconf - print paper configuration information SYNOPSIS
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ] DESCRIPTION
paperconf prints information about a given paper. The information that can be obtained is the name of the paper, its size and its width or height. When called without arguments, paperconf prints the name of the system- or user-specified paper, obtained by looking in order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents of /etc/papersize or by using letter as a fall-back value if none of the other alternatives are successful. By default, width and height of the paper are printed in PostScript points. OPTIONS
-p paper Specify the name of the paper about which information is asked. -d Use the default builtin paper name. -a Consider all known paper names. -z If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code. -n Print the name of the paper. -N Print the name of the paper with the first letter capitalized. -s Print the size (width followed by height) of the paper. -w Print the width of the paper. -h Print the height of the paper. -c Use centimetres as unit for paper size. -m Use millimetres as unit for paper size. -i Use inches as unit for paper size. ENVIRONMENT
PAPERSIZE Paper size to use regardless of what the papersize file contains. PAPERCONF Full path to a file containing the paper size to use. FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not set. AUTHOR
Yves Arrouye <arrouye@debian.org> SEE ALSO
papersize(5) 24 April 2001 PAPERCONF(1)
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy