Operating Systems Frequently Asked Questions
Programming expectations
Code style, structure, and comments
.
How do I
submit my work
? Remember to include your
single
or
pair
affidavit as appropropriate.
Getting started on UNIX
Are you just getting started with UNIX? Read the
UNIX
primer.
What is the
PATH
in a comamnd shell and how do I set? it?
How can I
securely connect to other computers or transfer files
using secure shell (ssh), secure copy (scp) or secure ftp (sftp)?
How can I use a
graphical interface
on edoras?
How can I have
UNIX-like environment on a Windows platform
?
What
software
is available on edoras?
Compiling and executing C/C++ programs
How do I
compile a program under UNIX?
My C program had a compilation error telling me to compile in
C99 mode
.
My program compiled correctly, but when I try to execute I receive a file not found error.
What
editors
can I use to write my program.
What is a
makefile?
What is
separate compilation
and how do I use it?
How can I
capture all output
to a file (including output from more than one process)?
Library calls
How can I understand
UNIX system & library calls?
How can I
use a nonstandard library
?
How can I
create a library
?
How can I generate
random numbers?
How do I interpret
function signatures (prototypes)?
Why do
duplicate lines appear in forked stdout which has been redirected to a file
?
How can I use
POSIX threads (pthreads)
?
How can I use
POSIX unnamed semaphores
?
How can I have a thread
sleep for a specified amount of time
?
How can I set a
POSIX signal handler
?
How can I use a
POSIX timer
to interrupt a process?
How can I use a POSIX timer to
determine execution time
?
C/C++ language related questions
How can I learn about
debugging
programs?
How can I use a symbolic
debugger
on UNIX/Linux?
How can I process
command line arguments?
What is an
appropriate level of commenting?
What should go in a
header (.h) file?
How do I determine the
number of bytes (size) of various data structures?
How can I have two
classes or structures point to one another?
How can I have an
array of unspecified size be part of a structure/class?
I need to understand pointers
understand pointers
.
How can I use
pointers to functions
?
How can I
call a C function from C++
?
General questions
What are the scale factors associated with
international system prefixes
for units such as giga, micro, milli, nano, etc.?