LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-13-2014, 07:51 AM   #1
sanjay2004
Member
 
Registered: Dec 2004
Location: BIJAPUR
Posts: 86

Rep: Reputation: 15
export not found


Hi,

I am unable to find export command on my shell, how can add this?


[root@server22 ~]# cfg2html
export: Command not found.
export: Command not found.
export: Command not found.
SCRIPT=: Command not found.
Illegal variable name.

[root@server22 ~]# whereis export
export: /usr/share/man/man1p/export.1p.gz /usr/share/man/man1/export.1.gz
[root@server22 ~]# which export
export: Command not found.
[root@server22 ~]# find / -name export -type f
[root@server22 ~]# export
export: Command not found.
[root@server22 ~]#
 
Old 06-13-2014, 08:06 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Show us the script...
 
Old 06-13-2014, 08:24 AM   #3
sanjay2004
Member
 
Registered: Dec 2004
Location: BIJAPUR
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
Show us the script...
not getting....., cfg2html-1.79-1.el5.rf.noarch.rpm is a installed to collect the asset details.

to executing this I am getting the error of export not found,
 
Old 06-13-2014, 08:45 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What does the documentation suggest?
 
Old 06-15-2014, 06:04 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Hi Sanjeev! export is there in your system only. the cfg2html is a having script only. you are the open in text editor and by hand variables export only. from script i take the lines here:
Code:
export PS4="DEBUG => "
export LANG=en_US
"export" is just another way to set shell variables. In bash you can just do variable=value to declare it. What shell are you running? Post the output of
Code:
echo $SHELL
 
  


Reply



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
[SOLVED] Failed updating Ubu 11.04 with LVM/Raid, grub-env-export not found linuxStudent11 Linux - Software 1 07-21-2012 04:03 PM
.bash_profile, "-bash: export: command not found" Squall90 Slackware 9 05-16-2012 03:45 PM
Compiling virt-viewer - No package â??gmodule-export-2.0â?? found Nick_C Linux - Software 2 03-12-2012 08:04 AM
[SOLVED] fstab or export options needed to write to an nfs mounted ntfs export chief427 Linux - General 2 07-21-2011 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:17 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
Open Source Consulting | Domain Registration