Some somewhat simple questions
All right, I have a few questions here and I'm just kinda left wondering.
First, can someone tell me how to get the string representation of an executable file? How do I find out when the last system reboot was? Is there a Pascal compiler that is usually included with linux (if there is I can't find it.)? |
#1... not sure what you mean (there definitely are no .exe's )
try Code:
file /etc/* /etc/auto_home: English text /etc/auto_master: ascii text /etc/autopush: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped /etc/bootptab: ascii text /etc/cfgadm: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped /etc/chroot: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped is that what your looking for? #2. uptime #3. Pascal? ...yikes :cry: ....dunno |
what distro? slackware comes with pascal on it's disks (it's not normally selected tho)
|
Tell you the truth
Well to tell you the truth I'm really not sure myself what this person means by string representation. This is basically a homework assignment that I am looking for a little help with. The other anwers were helpful though. Thanks, If anyone else would like to add, please do :)
|
BTW It as against the rules to help with homework.
|
string representation eh?
shove a cat <file> in their face, if they complain tell em you dind't know what they wanted. btw, I might have been confusing pascal and python in my last post, having had to have both I mix up the two a lot. there's free-pascal on linuxpackages.net, try looking for that at your local distro's package vendor. |
Nah
No, it's not against the rules to get help with homework, it's against the rules to get help with tests. Man some people, as a matter of fact the teacher encouraged us to look such things up whever we could find the answers.
|
All times are GMT -5. The time now is 03:21 PM. |