Saturday, September 7, 2013

LINUX OPERATING SYSTEM


LINUX DIRECTORIES

bin , boot,  dev,  etc,  home , lib,  lib64,  lost+found,  media , misc,  mnt,  net,  opt , proc,  root,  sbin,  selinux,  srv,  sys,  tftpboot,  tmp , usr,  var

Some Useful Commands in Linux:
chmod

[mamce@localhost ~]$ ls -l|grep Desktop
drwxr-xr-x 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$ chmod g+r Desktop
[mamce@localhost ~]$ ls -l|grep Desktop
drwxr-xr-x 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$ chmod g+w Desktop
[mamce@localhost ~]$ ls -l|grep Desktop
drwxrwxr-x 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$ chmod o+w Desktop
[mamce@localhost ~]$ ls -l|grep Desktop
drwxrwxrwx 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$ chmod o+w Desktop
[mamce@localhost ~]$ ls -l|grep Desktop
drwxrwxrwx 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$ chmod o-w Desktop
[mamce@localhost ~]$ ls -l|grep Desktop
drwxrwxr-x 3 mamce mamce   4096 Sep  5 18:42 Desktop
[mamce@localhost ~]$

No comments:

Post a Comment