Results 1 to 10 of 15
hi boy
sorry for my bad english
i try do modify BASHRC and ENVIRONMENT files on directory ETC
then all the command don't work, such as:
SUDO, GEDIT, NAUTILUS, NANO ...
- 03-10-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 5
[SOLVED] Command Not Found
hi boy
sorry for my bad english
i try do modify BASHRC and ENVIRONMENT files on directory ETC
then all the command don't work, such as:
SUDO, GEDIT, NAUTILUS, NANO and some others!
now i want to edit the 2 files and delete the insert lines
how i can do it?
thanks!
- 03-10-2010 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
try calling nano as /usr/bin/nano
the sun is new every day (heraclitus)
- 03-10-2010 #3
Note: Linux commands are case sensitive. NANO is different from nano.
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 03-10-2010 #4Just Joined!
- Join Date
- Mar 2010
- Posts
- 5
at first there isn't problem with this command! after my change there is problem!!
at first i write all commands without upper case!Last edited by onesim29984; 03-10-2010 at 03:58 PM. Reason: add
- 03-10-2010 #5
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.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-10-2010 #6Just Joined!
- Join Date
- Jul 2005
- Location
- Carbondale, IL
- Posts
- 11
- 03-10-2010 #7
it would be useful to know which files exactly (path + filename, for example /etc/environment) were modified.
- 03-11-2010 #8Just Joined!
- Join Date
- Jul 2007
- Posts
- 14
If you can't get an editor to work on your machine, using the installed operating system, you might try booting from a live-CD version. Knoppix is the old stand-by, but there are many others available -- in fact, the disk you used to install your current OS might even be live-bootable.
From there, you should be able to use the editing tools from the CD version to re-write the files you edited earlier.
- 03-11-2010 #9It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-11-2010 #10Just Joined!
- Join Date
- Mar 2010
- Posts
- 5
with this command i view an interface of GNU NANO in wich i don't know how i can do!!
and now?Code:[root@ermete ~]# ls -al total 248 drwxr-xr-x 19 root root 4096 2010-03-10 12:48 . drwxr-xr-x 29 root root 4096 2010-03-10 12:45 .. -rw------- 1 root root 6510 2010-02-02 12:19 anaconda-ks.cfg -rw------- 1 root root 2735 2010-03-10 13:58 .bash_history -rw-r--r-- 1 root root 24 2007-01-06 10:05 .bash_logout -rw-r--r-- 1 root root 191 2007-01-06 10:05 .bash_profile -rw-r--r-- 1 root root 176 2007-01-06 10:05 .bashrc -rw-r--r-- 1 root root 100 2007-01-06 10:05 .cshrc drwx------ 3 root root 4096 2010-03-10 11:23 .dbus drwxr-xr-x 2 root root 4096 2010-02-02 13:12 Desktop -rw------- 1 root root 26 2010-03-10 12:48 .dmrc drwxr-x--- 2 root root 4096 2010-02-02 13:12 .eggcups -rw------- 1 root root 16 2010-02-02 16:23 .esd_auth drwx------ 4 root root 4096 2010-03-10 12:48 .gconf drwx------ 2 root root 4096 2010-03-10 13:59 .gconfd drwxr-xr-x 3 root root 4096 2010-02-02 13:12 .gnome drwx------ 6 root root 4096 2010-03-10 11:23 .gnome2 drwx------ 2 root root 4096 2010-02-02 13:12 .gnome2_private drwxr-xr-x 2 root root 4096 2010-02-02 13:12 .gstreamer-0.10 -rw-r--r-- 1 root root 81 2010-02-02 13:12 .gtkrc-1.2-gnome2 -rw------- 1 root root 0 2010-02-02 16:24 .ICEauthority -rw-r--r-- 1 root root 58316 2010-02-02 12:18 install.log -rw-r--r-- 1 root root 4973 2010-02-02 12:17 install.log.syslog drwx------ 3 root root 4096 2010-02-02 13:12 .metacity drwx------ 4 root root 4096 2010-02-02 13:36 .mozilla drwxr-xr-x 3 root root 4096 2010-02-02 16:24 .nautilus -rw-r--r-- 1 root root 96 2010-02-02 12:48 .ncbirc -rw-r--r-- 1 root root 2060 2010-03-10 11:43 .recently-used.xbel drwxr-xr-x 3 root root 4096 2010-02-02 13:12 .redhat -rw-r--r-- 1 root root 0 2010-02-02 12:45 rocks-post.log -rw-r--r-- 1 root root 0 2010-02-02 12:19 rocks-post.sh -rw-r--r-- 1 root root 18715 2010-02-02 13:21 rocks-pre.log -rw-r--r-- 1 root root 18012 2010-02-02 12:19 rocks-pre.sh drwxr-xr-x 2 root root 4096 2010-02-02 12:47 .ssh drwxr-xr-x 3 root root 4096 2010-02-02 12:48 .t_coffee -rw-r--r-- 1 root root 129 2007-01-06 10:05 .tcshrc drwx------ 2 root root 4096 2010-02-02 13:12 .Trash drwxr-xr-x 2 root root 4096 2010-02-02 13:49 .vnc -rw------- 1 root root 321 2010-03-10 12:08 .Xauthority -rw-r--r-- 1 root root 1253 2010-03-10 12:48 .xsession-errors
sorry for my delay in response, but i can do test only at university!



