Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-02-2005, 08:09 AM   #1
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
trying to redirect text to a file to cat at later point. says file doesn't exist.

ok here is what i am trying to do.

 echo "If you have a working X config file for a different driver (such as the "nv"
or "vesa" driver), then simply edit the file as follows.

Remove the line:

      Driver "nv"
  (or Driver "vesa")
  (or Driver "fbdev")

and replace it with the line:

    Driver "nvidia"

Remove the following lines:

    Load "dri"
    Load "GLCore"

In the "Module" section of the file, add the line (if it does not already

    Load "glx"" > xorgconfigchange
when i do so i get this:
bash: xorgconfigchange: No such file or directory. I thought redirection would create the file if it didn't exist. So why am i getting that error? Those are instructions from a site that i may need to reference which i need to do while X is killed so i wanted to echo them to a file so i could cat it while in text mode to reference. thanks for any replies in advance.
Old 10-02-2005, 08:10 AM   #2
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
ok. sorry for posting i just figure it out as i posted. It was because i was in /etc/ so i didn't have write permission, therefore the file was not getting created. Silly mistake.


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
Printing a new file over the old file using cat mrobertson Programming 4 07-07-2005 10:18 AM
how to cat a text file and save it as a variable mrobertson Programming 37 07-05-2005 08:20 AM
How do I redirect something to a file without it overwriting the destination file??? nikold01 Linux - General 8 09-09-2004 02:30 PM
The file or directory file:/misc/cdrom does not exist rangerssg Linux - Newbie 5 08-29-2004 05:17 AM
File does not exist/Large file support dreamtheater Linux - General 3 04-19-2004 09:14 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:52 PM.

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