LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gime me full description (https://www.linuxquestions.org/questions/linux-newbie-8/gime-me-full-description-4175522337/)

rammoorthy 10-16-2014 11:42 AM

gime me full description
 
what is the meaning of ~,/ and . in ./a.out and ~/.ddd
what is the use of ~/.ddd command

suicidaleggroll 10-16-2014 11:44 AM

. is a link to "this directory"
~ is a shortcut to "my home directory"
/ means "inside this directory"

So ./a.out means the file "a.out" located inside ".", the current directory
And ~/.ddd means the file ".ddd" located inside "~", the user's home directory. You could also use $HOME/.ddd, or /home/rammoorthy/.ddd (assuming your user name is rammoorthy and your home directory is /home/raamoorthy), they're all equivalent.

The dot in front of ddd is part of the file name, it means it's a hidden file. "ls" will not show it, but "ls -a" will.

rammoorthy 10-16-2014 12:02 PM

Quote:

Originally Posted by rammoorthy (Post 5254681)
what is the meaning of ~,/ and . in ./a.out and ~/.ddd
what is the use of ~/.ddd command

what is .ddd file...
what is backend process while creating .ddd file

suicidaleggroll 10-16-2014 12:26 PM

.ddd is some file you or a program on your machine created. It's not a standard file as far as I'm aware, if that's what you're asking.

I don't know what "what is backend process while creating .ddd file" means.

edit: it looks like .ddd is a directory that holds some config information for the data display debugger program. If you run "ddd", then "~/.ddd" is the directory where it looks for config information and stores logs. I have zero experience with ddd, so I can't really help beyond that.

TB0ne 10-16-2014 12:35 PM

Quote:

Originally Posted by rammoorthy (Post 5254681)
what is the meaning of ~,/ and . in ./a.out and ~/.ddd
what is the use of ~/.ddd command

Read the LQ Rules, and don't post your verbatim homework questions here. Also, TELLING people to 'GIMME' things is fairly rude. When you're asking for handouts, rather than doing your own homework/research, at least try to be polite.


All times are GMT -5. The time now is 11:07 AM.