Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Os Talk => Topic started by: coyboss on August 14, 2011, 02:10:37 AM

Title: Need help with command
Post by: coyboss on August 14, 2011, 02:10:37 AM
Hi all,

NOt sure if this is the right forum or not.

I am new to Linux and am trying to do some tasks I was given, but I don't
know how to do it.

I need to do the following:
      Using a long listing and no process modifiers, what is the swap space amount for the bash command.
I have looked at the book and tried various google searches but can't seem to figure it out.

I have tried the ps and the top command but either can't read it right or figure out how to get the info needed.

Thanks in advance.

IKE
Title: Re: Need help with command
Post by: coyboss on August 14, 2011, 03:00:55 AM
OK I got this figured out, but I have another issue I need help with.

I am trying to change the permissions (chmod) on a directory but it keeps telling me I don't have the permission to do so.

Here is what I have tried so far
****************************************
[Student@localhost ~]$ sudo chmod ug+rwx ~/MyFiles/Ike
[sudo] password for Student:
chmod: changing permissions of `/home/Student/MyFiles/Ike': Permission denied
*****************************************

Thanks

IKE
Title: Re: Need help with command
Post by: onkar on August 18, 2011, 05:38:42 AM
Dear you must have Administration rights to do some tasks. Means you have root password for chmod command.