08-18-2015
I would suggest to start with classic. Old UNIX kernels are very easy to understand und to hack. You can find e.g. UNIX v6 or v7 on TUHS archive, Supnik's PDP-11 simulator (simh) and take Lion's Commentary on UNIX v6 source code -
Lions' Commentary on UNIX 6th Edition, with Source Code. The book was long time ago a study guide for students learning Operating systems.
This User Gave Thanks to agent.kgb For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello ..
I am college student and a new guy to unix.
I have a simple question:
what does "unix" stand for ,or just a meaningless name ? (4 Replies)
Discussion started by: nanuo
4 Replies
2. UNIX for Dummies Questions & Answers
14 (2 Replies)
Discussion started by: zbweh5280
2 Replies
3. Programming
I want to do kernel programming.So which site or books help me in studying these.I know C programming to a little extent.Please advice me (4 Replies)
Discussion started by: ranjith
4 Replies
4. UNIX for Dummies Questions & Answers
hi I am vijay
how r the unix gurus?
I want to install unix for our sites.So pls tell me abt unix installation user guide & also all the unix commands.Pls help me.I am waiting for yr reply.
bye..........vijay :D (2 Replies)
Discussion started by: vi77_surat
2 Replies
5. Programming
HI Friends,
I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know...
thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies
6. UNIX for Dummies Questions & Answers
Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies
7. UNIX for Dummies Questions & Answers
Hi, I need some help with the follow questions :(. Any help would be great!
Answer with the necessary commands
1. In your login directory, make a directory called week4/revision
2. Without changing directories, make another directory week4_revision/data
3. Change to week4_revision/data... (2 Replies)
Discussion started by: Heyo
2 Replies
8. Programming
Hi..
I am a new joinee to this foram.I need to submit a case study in UNIX .Please help me to submit the case study by giving your valuable ideas.It will be very helpful for me.
Topic: Unix File Management
A university wants to computerize its Library operations because of... (2 Replies)
Discussion started by: viji_jeya
2 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN.
Best Regards,
Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies
10. Shell Programming and Scripting
why does this not work, confused
#!/bin/ksh
x="x"
echo "Enter a name: "
read NAME
while
do
echo $NAME
echo
if
then
echo ":"
else
echo $NAME
fi
echo
echo "Enter a Name: "
read NAME (8 Replies)
Discussion started by: Gmoney93079
8 Replies
file(1) General Commands Manual file(1)
NAME
file - determine file type
SYNOPSIS
mfile] ffile] file ...
UNIX 2003 (onwards) Synopsis
mfile] Mfile] ffile] file ...
DESCRIPTION
performs a series of tests on each file in an attempt to classify it. If file appears to be an ASCII file, examines the first 512 bytes
and tries to guess its language. If file is an executable file, prints the version stamp, provided it is greater than 0 (see the descrip-
tion of the option in ld(1)).
uses the file to identify files that have some sort of that is, any file containing a numeric or string constant that indicates its type.
Commentary at the beginning of explains the format.
Options
recognizes the following command-line options:
Use alternate magic file
mfile.
(UNIX 2003 onwards Only)
Use alternate magic file Mfile. Do not apply default context-sensitive tests.
Check the magic file for format errors.
This validation is not normally carried out for reasons of efficiency. No file classification is done when this option
is specified.
(UNIX 2003 onwards Only)
Apply position-sensitive tests from the default magic file, and default context-sensitive tests to the file.
Obtain the list of files to be examined from file
ffile. classifies each file whose name appears in ffile.
Do not follow symbolic links.
From UNIX 2003 (onwards) environment, if is not specified and the is a symbolic link referring to a non-existent file, it
is identified as a symbolic link, as if has been specified.
Do not attempt to classify a regular file further.
If the option is specified with the option, option, or both, the concatenation of the position-sensitive tests specified by these
options is applied in the order specified by the appearance of these options.
EXTERNAL INFLUENCES
For information about the UNIX standard environment, see standards(5).
Environment Variables
determines the language in which messages are displayed.
If is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty vari-
able. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of
If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See
environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported. However, all non-ASCII text files are identified as "data".
WARNINGS
The command for a release interprets the core files for that particular release correctly. Using the command on a core file generated on a
different release will report incorrect results.
SEE ALSO
ld(1), standards(5).
STANDARDS CONFORMANCE
file(1)