LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 09-25-2003, 12:59 AM   #1
pongsu
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Linux shell doubts


hello,
can u tell me the answers for the below quetsions:

1. How can i get the last command line displayed in shell

2. what is the keystroke that invokes filename completion

3. what is the command line executing a program file in shell
 
Old 09-25-2003, 01:08 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,127

Rep: Reputation: 75
1. Use the "UP" arrow.
2. Use "Tab" this will also fill any filename in your $PATH
3. If a program has the correct permission e.g. is executable (755 or rwxr-xr-x) it will just excute!

Hope this helps.
 
Old 09-25-2003, 05:35 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 30
You have to use bash or zsh for the above to work (of course).

Also, to make a file executable, just type chmod +x filename.
 
Old 09-25-2003, 10:01 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Put it in your PATH aswell.
 
Old 09-25-2003, 10:04 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,593
Blog Entries: 47

Rep: Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409
Are we doing your homework or what?
 
Old 09-25-2003, 02:51 PM   #6
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,127

Rep: Reputation: 75
Yeh! BTW' allot of these issues are solved with a quick copy paste from google.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubts in c rajesh_b Programming 2 06-06-2005 09:54 PM
NAT doubts vermaamitabh Linux - Networking 2 10-29-2004 09:11 AM
Networking doubts pongsu Linux - General 2 10-02-2003 01:30 PM
Some commands doubts.... caio Linux - Software 4 05-23-2003 12:25 PM
Linux server and clients Win and Linux, some doubts... geraldomanaus Linux - Networking 1 03-14-2003 06:11 AM


All times are GMT -5. The time now is 08:35 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration