Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-04-2005, 04:37 AM   #1
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 120

Rep: Reputation: 15
Linux users

Hello Friends

I am entering the linux server in root.

i am using arrow key ( Up arrow or Down arrow) last time i am using all the commands are displayed.

I dont want it. So please any idea to delete the last time using the commands.

Thank You

Last edited by ajkannan83; 10-04-2005 at 05:54 AM.
Old 10-04-2005, 05:17 AM   #2
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
hidden files
In Linux (UNIX) files which have a name starting from a "." are hidden to normal listing. For example if you "ls" your home directory you will not see file starting from "."

To see them in a console use "ls -a". It will then list the files like ".bashrc",".bash_history". In GNOME (in Nautilus) Ctrl+h is the key sequence as I remember. I'm not very much sure about GUIs since I use GUIs for a limited number of uses.

What kind of profiles are you refering to? For example profile for the BASH is .bash_profile in your home directory. But in a typical Linux box you don't get something like a single profile per user. Basic user cofigurations are in /etc/passwd, /etc/shadow and /etc/group (do not mess with these if you don't have any idea about what you are doing). Each user usually shall have seperate profile like files for the programs they use (.gome, .gimp, .tcshrc, .bashrc, etc.) usually in your home directory.

Things are different if you are using directory services, Samba, centralized authentication kind of things.
Old 10-04-2005, 08:11 AM   #3
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Another possibility is the bash command alias. Alias allows you to use a short comand name in place of a long one eg

alias l='ls -laRC color=auto'

would do a recursive directory list showing all hidden files and colour them according to type ( at least I think it should)

if you type alias at the bash prompt you will get a list of all commands which are aliased if you find the commands there that you dont want then you can unalias them for the session or you may have to check the bashrc file in /etc to remove them permanently
Old 10-04-2005, 08:36 AM   #4
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
What you need to look at is BASH history

I believe

set -o history

will switch off the Bash history (can anyone confirm?)
Old 10-06-2005, 12:52 AM   #5
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40

I hope you got your work done (at last it looks like you were having a bash history problem.

Anyway, please consider that changing the starting post of a thread significantly, later is not a good idea. You could always use another post for that.
Old 10-06-2005, 02:29 AM   #6
Michael Johnson
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
I think what you want to do is delete the ".bash_history" file. then set your history recording to zero.


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
Hidden files? sonic04002 Linux - Newbie 2 11-09-2005 01:48 PM
Hidden Files coold8 Linux - General 5 04-27-2005 11:26 PM
hidden files Jeebizz Slackware 4 04-22-2005 07:18 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
M$ CD w/ Hidden files???? trey85stang Linux - Newbie 3 05-04-2004 09:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:06 AM.

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