Link to home
Start Free TrialLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

Add comment to file in linux

Such as keyword comment   in to a file or directory
Avatar of Tintin
Tintin

You can't add comments to a directory, but to add a comment to a PHP file, you do


//  This is a comment

or

/*  This is a
comment
that goes
over several lines
*/
Avatar of MrTV

ASKER

i mean add comment to the file not inside php file such as in windows when i right click select properties i can andd comment to a file
SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What do you need this feature for? If you give us a little bit more information, maybe we can think of a different solution for you.

If it's for a website, you can always create secondary files. For example, you have a word document:

January Sales Report.doc

Then you create the following file:

January Sales Report.doc.comment

Where you put the comment in.
Avatar of MrTV

ASKER

i want to create a commnet when search file i want to search from comment
I realise English isn't your main language, but I have no idea what you mean by your last post.

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial