{ 19 comments… read them below or add one }

1 makash 11.12.05 at 3:01 pm

OT but was wondering are you from India?

The timestamp is a give away

2 nixcraft 11.12.05 at 7:11 pm

Yup I’m from India :)

3 Anonymous 02.02.06 at 12:00 am

hm, did I something wrong? I can remove the file with $ rm “la*

4 Thomas Scott 01.29.07 at 4:08 am

Future is , no one will load
executable code , only data and
data will be parsed by kernel and
typed , compresed , and added to
a structure .
This allows the OpSys to be tiny .
because it eliminates the extra
work the kernel had to do ,
explaining to humans ….
This obsoletes SU and makes it
much easier to “control” a machine .
Permissions are no longer necessary .
Scratch lists stop all unauthorized
acesses .
This not new , these simple fixes
have been around for 100’s of years ,
Only computer s/w can change in
minutes , and “pink slip” millions .

5 aamod 08.06.07 at 6:10 am

Great blog…. Has a lot of correct info and I find it very useful….

6 Riz 10.09.07 at 11:00 am

just to let you know…. that file once created can be removed in another way. using rm -i *. this is an interactive mode and asks you if want to delete each file in turn. so please correct as the above information you are providing is inaccurate.

7 vivek 10.09.07 at 1:58 pm

Riz,

I’m aware of this command. A long time ago on NFS mounted system there was a file called 2001/05/11. and no UNIX / Linux command was able delete this file by name. Only method to delete such file is delete file by an inode number. Linux or UNIX never allows creating filename like 2001/05/11 but if you are using NFS from MAC OS or Windows then it is possible to create a such file.

So above information is 100% accurate.

8 Riz 10.09.07 at 3:10 pm

vivek,

i dont have a windows box to test this so i will take you word as gold, but it is nice to see an active posting community rather than one which is dead (which i normally find whilst search things like this)

Riz.

9 Anyeos 03.06.08 at 6:14 am

What strange but true I cannot create a dir or file with this commands:
touch “10/11/2006″
mkdir “10/11/2006″

You can see what I’m using quotes to bypass the shell. But anyway I cannot create such file/dir.

That is for some reason?
I have other doubt (I don’t expect to be answered here): Why linux filesystem does not save “file creation time”? What is the reason?

Bye

10 ronald 03.12.08 at 2:24 pm

It’s inaccurate to say that every file under Linux has the attributes that you listed … especially the extended attributes. All these attributes are properties of the filesystem, be it ext3, xfs, jfs etc. In particular, extended attributes apply to ext2/ext3

11 prasanna kumar 04.14.08 at 9:19 am

hi friends,,
plz i want some coomands in linux
1)question: in linux basic commands are not working that u can do.
example : ls
pc displays command not found.
2)question : i have 3 files. i want serach some words like kernel.all files are have kernel word so prints word as well as numbers with single line. using single command grep (or) sde command plz send syntax and example.

12 Moneo 05.19.08 at 11:10 am

rm ‘”\la*’

deleted it fine for me

13 tarun 05.20.08 at 8:11 pm

this is to aneyous according to my knowledge if u want to create a file say 10/11/2008 try this 10\11\2008 and for a directory also

14 tarun 05.20.08 at 8:28 pm

guys i have one question i couldnt find an answer to ..i will explain in steps what did i do
from root user i did this:
1. adduser tarun
2. passwd tarun
3. log in to a terminal with user tarun
4. create a text file say “test1″ with “cat” and
type some text in it,and save the file.
5. now i did chmod 000 on the file.
6. i opened “test1″ with vim editor. i try
inserting some text in it i get a warning tht
i might be changing a read only file,
7. i save and exit the text inside “test1″
forcefully using “wq!”
8. now i do chmod 644 on “test1″and again open the file and write something in it and save it
9. if do “cat test1″ i see only the last text i inserted after doing chmod 644 and not anything before …could’nt figure it out why the system did not append the text i had just written to the text i had written earlier

15 Krishna 12.03.08 at 4:54 pm

There are no inodes for creating files, how can i overcome this situation

16 Bbp 02.19.09 at 3:43 pm

Tarun,

The command “chmod 000″ change the file rights. The code “000″ is in Octal.
The first byte is for file owner rights.
The second byte is for group rights.
The third byte is for rights according to other users.

The numbers, in octal, works as following:
0 = (—) = No right
1 = (–x) = Execute
2 = (-w-) = Write
4 = (r–) = Read
You can combine them:
3 = 1+2 = (-wx) = Write + Execute
5 = 1+4 = (r-x) = Read + Execute
6 = 2+4 = (rw-) = Read + Write
7 = 1+2+4 = (rwx) = Read + Write + Execute

Example, “chmod 740 somefile” will give full access to the owner of “somefile” (rwx), read only for other member of the file group (r–) and protect the file from been access by other users (—). The command “ls -l somefile” display this:
-rwxr—– 1 me filegroup 0 Feb 19 10:32 somefile

So, the command “chmod 000″ remove all rights to anyone on the file, including the owner. That’s why you can not wirte new data on it and you have to force quit from vi (q! is a forced quit).
The command “chmod 644″ give the number 6 for the owner (rw-) which give you back the read and write access.

17 Iyyappan 03.23.09 at 5:28 pm

hi,
innode ******** has illegal blocks. clear ?

what issue is this one. is this a major issue . kindly reply . i need help badly. mean while i am googling to find a solution

18 Mukesh Handa 08.23.09 at 10:17 am

Hi Friends I am new to this linux world…. I am struck with one thing…. I want to know how we can change our root password if i forget this….

19 spark 10.19.09 at 10:48 am

welcome to the world of Linux
its quite easy to change password of root..start ur OS in single user mode….for tht u simply edit kernal parameter
to edit kernal simply go to kernal parameter press (e) to edit,nw simply rite 1 thr & thn press (b) to boot system to boot the system..
thr u will get a shell kind of( sh.3#) there simply type (passwd) shell will ask u for new Unix password..type the new password,thn retype it.ur password will b changed

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: