LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2004, 04:03 PM   #1
Radical Edward
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
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.)?
 
Old 12-01-2004, 04:09 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
#1... not sure what you mean (there definitely are no .exe's )
try
Code:
 file /etc/*
you'll get a listing like
/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 ....dunno
 
Old 12-01-2004, 04:11 PM   #3
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
what distro? slackware comes with pascal on it's disks (it's not normally selected tho)
 
Old 12-01-2004, 04:13 PM   #4
Radical Edward
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 12-01-2004, 04:31 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
BTW It as against the rules to help with homework.
 
Old 12-01-2004, 04:35 PM   #6
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
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.
 
Old 12-01-2004, 07:20 PM   #7
Radical Edward
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
Three Simple Questions Wapocalypse Linux - Newbie 4 01-04-2003 06:49 PM
simple questions safrout Linux - Hardware 4 12-08-2002 10:00 AM
Three simple questions ErikD Linux - Software 2 10-15-2001 09:03 AM
Two simple questions M.I. Linux - General 3 07-12-2001 10:27 AM


All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration