Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi
im a new user and i need to find more about:-permission codes
-command to find currently loggen in users
-howto find out the background processes e.g what programs are runnign and their mem and CPU usage e.t.c
-the memory used by processes
-and the most asked of all questions, how to mount the damn floppy and cd-rom :)im using redhat 6.2
thanks in advance for your help
Paul :)

For permission codes I would try to look it
on on somewhere like linuxnewbie.org
for logged in users try - finger
for background processes try - "ps -e"
without quotes this will give you all of them
and info
I'm not to sure about mounting with Rh but in
mandrake it's mount: /mnt/cdrom or mount
/mnt/floppy

For the processes try top.
If the above mounting doesn't work, try mount -t iso9660 /dev/cdrom /mnt/cdrom. /mnt/cdrom must exist.
For the users, the command users displays something.
For the file permissions, start midnight commander mc (if installed). Then select menu->file->chmod which displays the code and the meaning of it.

Hello Paul.
No problem,
1. Permissions code is easy if you use the numbers. There are three groups who can access a file and three permissions you can give them; groups are Owner (you!), Group, World and the permissions are rwx (read, write,execute) for each group. r=4 w=2 x=1. Use the chmod command to alter permissions. For example, to allow the group and the world to read and write to "myfile"; type chmod 766 "myfile". The first 7 gives you, the owner, all three permissions and the next 2 6's gives read (4) and write (2)premissions to the group and the world (but not execute(1))
2.See users by finger or who (finger is better)
3.See background (and forground) processes, use ps -aux and top (top is good)
4.Mount a floppy. If you have not yet configured your /etc/fstab file, type mount -t auto(or ext2) /dev/fd0(zero) /mnt/floppy ( you may have to make a directory, /mnt/floppy; type mkdir /mnt/floppy). You have to format the floppy and make a Linux file system on it first and, perhaps, to set the /dev/fd0 parameters first. Type;
info setfdprm
info fdformat
info mke2fs
to see how it works.
5.Mount cdrom type mount -t iso9660 /dev/cdrom /mnt/cdrom (You may have to make this directory too)
Please note that configuring your fstab file can make mounting easier. Have a look at the mount man/info pages by typing info mount.
These should work as I have RedHat 6.2 also.
All the above is done at the command prompt and you will need to be logged in as root for most of it.
I am new to Linux too, but it's great fun!
I have been helped by a couple of books; Using Linux by Bill Ball (by Que publishers) and Sams Teach yourself Linux in 24 hours by Bill Ball again!
By the way, how did the previous posters connect, I had to fix a fault in the HTML code before the reply form would display for me.Regads,
Bill Freeman

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |