November 15, 2018, 10:46:14 PM

News : Linux Help Community Forum..

Author Topic: Need help with command  (Read 4093 times)

Offline coyboss

  • Linux Noob !
  • *
  • Posts: 4
Need help with command
« 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.

« Last Edit: August 14, 2011, 02:17:10 AM by coyboss »

Offline coyboss

  • Linux Noob !
  • *
  • Posts: 4
Re: Need help with command
« Reply #1 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



Offline onkar

  • New Member
  • Posts: 1
Re: Need help with command
« Reply #2 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.