09-11-2003
The solutions listed below will work on Linux as well as other UNIX systems. Here is the summary (based on my research and your replies):
1. You can use the "umask" command to make the "touch" command create files with different default permissions.
2. To avoid the limitation of the "ls" command, you can use the following command to list large number of files:
find . -name "test*"
3. You can use the /etc/fstab file to automatically mount a device each time the system starts up.
4. To determine which process is causing the device to be busy, you can use the "fuser" command like this (just an example):
fuser -v /mnt/cdrom
Thanks for your replies!
--Enigma777
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
1. is redhat linux 7.3 the latest version ??
2. where can i find FREE documentation regarding it ?? installation , etc...
Thanks (2 Replies)
Discussion started by: BAM
2 Replies
2. UNIX for Dummies Questions & Answers
Is there some place like this unix.com for linux questions? a forum like area to ask questions? I love this site, i've learned a lot (use unix - solaris, and linux - redhat). Unfortunately redhat.com has gotten rid of their support forums, everything is in a list type format and I don't want to... (6 Replies)
Discussion started by: kymberm
6 Replies
3. Linux
Hi,i am a newbie in linux,l have some questions when i study unix system.Could you help me?thx.
Q1:an linux file system is broken,it can not be mounted after system boot up .how to recover it?
Q2:When the UNIX system shore memory is not enough,how to change the system paramenters?
Q3:How... (2 Replies)
Discussion started by: saneryee
2 Replies
4. UNIX for Dummies Questions & Answers
Hello :-)
I am new to the world of UNIX/LINUX and I have just purchased my first Web Server. I have "root" access to the system and I have a few basic questions, they are:
1. How do you view all user names that have access to the system?
2. How do you add/delete or modify users?
Anyone... (1 Reply)
Discussion started by: randy.moretz
1 Replies
5. What is on Your Mind?
Hello all.
Im a young lad with very limited experience with computers, even though I have been playing with them the past 5 years. I have the experience of the random World of Warcraft player that plays games all day.
I have a huge interest in learning everything about computers and I was... (5 Replies)
Discussion started by: Vallzi
5 Replies
6. Red Hat
I am about 2 months new to Linux, and have only limited experience with PCLinuxOS, (kde) and Redhat.
I am installing the latest version of PClinuxOS on my wife's PC right now but running into a problem I dont understand. I have never seen it before so i thought i'd ask how I can get around it.... (1 Reply)
Discussion started by: Methal
1 Replies
7. Linux
1.On x86 Machines ( Pentium4 ), What is the maximum number of Services( sshd, ntpd,named ,samba, etc.) that can be installed.? Is there a rule of thumb to attain the best possible performence.?
2. Is there a systematic way to boot a remote Machine.?
3. Are there any problems of having two... (2 Replies)
Discussion started by: kanata
2 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
please give few answers for this questions:confused::confused: ...thanks in advance
What shell do you use when you log in to a UNIX/Linux host?
What command will show you the shell you're using?
Describe 5 things you can do in Linux/UNIX. (1 Reply)
Discussion started by: hecker007
1 Replies
9. UNIX for Dummies Questions & Answers
Sorry for the dumb question......I got my B.S. in computer science Amazing how I don't these answers).....I wrote mostly in the language C in my college career. I wrote all my programs using a windows application for writing C.....and then after testing it, I would upload it to a UNIX system and... (1 Reply)
Discussion started by: Bruuuuce78
1 Replies
10. UNIX for Dummies Questions & Answers
Can anyone list the interview questions on Linux Internals?
Any link for the same will also be helpful.
In a job requirement of say C, linux internals what is expected about linux internals? (0 Replies)
Discussion started by: rupeshkp728
0 Replies
LEARN(1) General Commands Manual LEARN(1)
NAME
learn - computer aided instruction about UNIX
SYNOPSIS
learn [ -directory ] [ subject [ lesson ] ]
DESCRIPTION
Learn gives Computer Aided Instruction courses and practice in the use of UNIX, the C Shell, and the Berkeley text editors. To get started
simply type learn. If you had used learn before and left your last session without completing a subject, the program will use information
in $HOME/.learnrc to start you up in the same place you left off. Your first time through, learn will ask questions to find out what you
want to do. Some questions may be bypassed by naming a subject, and more yet by naming a lesson. You may enter the lesson as a number
that learn gave you in a previous session. If you do not know the lesson number, you may enter the lesson as a word, and learn will look
for the first lesson containing it. If the lesson is `-', learn prompts for each lesson; this is useful for debugging.
The subject's presently handled are
files
editor
vi
morefiles
macros
eqn
C
There are a few special commands. The command `bye' terminates a learn session and `where' tells you of your progress, with `where m'
telling you more. The command `again' re-displays the text of the lesson and `again lesson' lets you review lesson. There is no way for
learn to tell you the answers it expects in English, however, the command `hint' prints the last part of the lesson script used to evaluate
a response, while `hint m' prints the whole lesson script. This is useful for debugging lessons and might possibly give you an idea about
what it expects.
The -directory option allows one to exercise a script in a nonstandard place.
FILES
/usr/share/learn subtree for all dependent directories and files
/usr/tmp/pl* playpen directories
$HOME/.learnrc startup information
SEE ALSO
csh(1), ex(1)
B. W. Kernighan and M. E. Lesk, LEARN - Computer-Aided Instruction on UNIX
BUGS
The main strength of learn, that it asks the student to use the real UNIX, also makes possible baffling mistakes. It is helpful, espe-
cially for nonprogrammers, to have a UNIX initiate near at hand during the first sessions.
Occasionally lessons are incorrect, sometimes because the local version of a command operates in a non-standard way. Occasionally a lesson
script does not recognize all the different correct responses, in which case the `hint' command may be useful. Such lessons may be skipped
with the `skip' command, but it takes some sophistication to recognize the situation.
To find a lesson given as a word, learn does a simple fgrep(1) through the lessons. It is unclear whether this sort of subject indexing is
better than none.
Spawning a new shell is required for each of many user and internal functions.
The `vi' lessons are provided separately from the others. To use them see your system administrator.
7th Edition October 22, 1996 LEARN(1)