Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I have written a small shell script temp.sh, contains var=valuefromsubshell import var When i execute sh temp.sh i am getting the error like import: unable to open X ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    49

    import is giving error???

    Hi All,

    I have written a small shell script temp.sh, contains

    var=valuefromsubshell
    import var

    When i execute sh temp.sh i am getting the error like

    import: unable to open X server `'.

    Can anyone help me in this???

  2. #2
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    You have heard about manpages, right? Try "man import".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...