LinuxQuestions.org
Help answer threads with 0 replies.
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 04-10-2006, 02:09 AM   #1
narendra.pant
Member
 
Registered: Mar 2006
Posts: 86

Rep: Reputation: 15
using set in shell pro


when i m using
set 'who am i ' or any command with that
while execuitng that script m not gettin the desired results the commnd in the ''is not gettin executed
as this statement
echo $1

is not giving the mane of the curruntly user
whta is the right way to use that
 
Old 04-10-2006, 02:38 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Huh?

What are you trying to achieve? The result of "who am i"
in a variable? What shell are you using?


Cheers,
Tink
 
Old 04-12-2006, 12:55 AM   #3
narendra.pant
Member
 
Registered: Mar 2006
Posts: 86

Original Poster
Rep: Reputation: 15
thanks

i got the job done i ws using " insted of `



thanks


but i m not able to hear a beep when i m using
echo "\07"

n no bold or reverse characters using 033/[7m or 1m etc .
 
  


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
Set shell resolution huwnet Linux - General 5 05-17-2010 09:52 AM
How can I set up my SH shell budz Linux - Newbie 2 03-21-2006 08:38 PM
Set the path for shell commands??? acidblue Fedora 2 12-24-2005 12:23 AM
can I set these flags using a shell script nirav.jani Linux - Security 1 01-12-2005 07:01 PM
How do i set up a shell account flamah Linux - Newbie 5 05-26-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 AM.

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