Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
Originally Posted by Leppie it would be useful to know which files exactly (path + filename, for example /etc/environment) were modified. i modify Code: /etc/environment and Code: /etc/bashrc...
  1. #11
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5
    Quote Originally Posted by Leppie View Post
    it would be useful to know which files exactly (path + filename, for example /etc/environment) were modified.
    i modify
    Code:
     /etc/environment
    and
    Code:
     /etc/bashrc

  2. #12
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    i've attached those files (untouched) from my system.
    try restoring them on your system.
    Attached Files Attached Files

  3. #13
    Just Joined!
    Join Date
    Dec 2007
    Posts
    1
    Quote Originally Posted by devils casper View Post
    Try replacing backup files of .bashrc and environment files with new edited files. Linux creates backup files by default.
    Check the output of ls -al command. Backup files use ~ sign with actual file name.

    As Lakshmipathi mentioned already, NANO is not nano. I would suggest you to use correct case for all commands in your posts to avoid confusion.
    backup files by default ? .. really? i've never seen that, at least not with vi.

  4. #14
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    backup files by default ? .. really? i've never seen that, at least not with vi.
    Yes, it does. You should check again. Which version of Linux are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #15
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5

    solved

    i solve with your help my problem!!

    with
    Code:
    /usr/bin/nano
    i modify files and restart system!!

    all work ok

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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