03-27-2002
Hmm... You want to get rid of your command history?
There is no real reason you should ever do this, and even if you do, a good admin can still catch what you're doing.
Depending on your shell, look in .history, .sh_history, or .bash_history. You can usually edit this file with a text editor, or null it out. Keep in mind though, that whatever command you used to do this will now show up in your history. And if you're using the bash shell, you have to log out first, log in, then edit, since the bash versions I've seen do not write to a file until the session closes.
Since I can't think of a good reason to be doing this, I'm not going to tell you how to do it without leaving traces...
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I want to purge 7 days older data from a list of data sorted on date in a log file...
Can anyone provide me with the shell script for the same..
Thanks,
Jaz (1 Reply)
Discussion started by: JP003
1 Replies
2. Shell Programming and Scripting
Hi,
I am writing a shell script for archive data from a table.
The design is as follows.
Step 1:
Execute the select query and extract the data into a text file.
Step 2:
The primary key for this table is TRACKING_NUM, TRACKING_NUM_SUFFIX, TIMESTAMP_UPDATED. So These three fields will be read... (1 Reply)
Discussion started by: kmanivan82
1 Replies
3. Shell Programming and Scripting
Hi Friends,
I have an urgent requirement.
I have many files huge in size which has occupied almost the entire disk space. The files are not being moved to the archived folder.
But at present I need to purge those files, new to shell scripting, not sure how to proceed.
Eg.
Directory... (3 Replies)
Discussion started by: unx100
3 Replies
4. Red Hat
Hi, I have a purge directory called /b02/purge which has backed up directories like this
drwxrwxr-x 17 root root 4096 Jan 5 15:33 purge1
drwxrwxr-x 17 root root 4096 Jan 5 16:21 purge.new1
drwxrwxr-x 15 root root 4096 Jan 5 16:21 purge.new2
drwxrwxr-x 17 root root 4096 Jan 12... (3 Replies)
Discussion started by: uxadmin007
3 Replies
5. Shell Programming and Scripting
Hi,
I have to make a script to purge logs in a directory (this script will run automatically every day) and this script has to keep just the 30 last files.
So I want it to count all the files in the directory, find the 30 most recents and delete the others.
I just started shell scripting and... (4 Replies)
Discussion started by: jblecrou
4 Replies
6. UNIX for Advanced & Expert Users
Hi,
merry christmas.
on AIX 6.1,
the file /var/spool/mail/user, should/can be purged manually ?
Any commande line to purge it ?
Thanks. (2 Replies)
Discussion started by: big123456
2 Replies
7. Emergency UNIX and Linux Support
From morning we are facing some issues in tablespaces in oracle9i.
Tried deleting some huge records... but even thought it is still giving tablespcases in full.
Then i tried and googling ... found we need to purge recyclebin of oracle..
but thats not woking in oracle9i...
can any one... (1 Reply)
Discussion started by: greenworld123
1 Replies
8. Shell Programming and Scripting
I have these commands that help me find and delete files over certain days.
How can I build a menu to list the files, and then hit y for yes to delete or no?
find /logs/212/abinitio/prod/mfs/partitions/part0/mfs_12way_001/mfs_12way/sncrpt/main/ -name "*dat" -mtime +1 -exec ls -ltr {} \;
find... (3 Replies)
Discussion started by: xgringo
3 Replies
9. UNIX for Dummies Questions & Answers
Hello,
i would like to know what is the use of that command
apt-get install --purgeI understand the use of --purge while using with remove parameter, but i don't get it when it's about installing.
Enlight me please ! Thx
---------- Post updated 09-03-16 at 11:35 AM ---------- Previous... (0 Replies)
Discussion started by: Purgator
0 Replies
uxterm(1) General Commands Manual uxterm(1)
NAME
uxterm - X terminal emulator for Unicode (UTF-8) environments
SYNOPSIS
uxterm [ xterm-options ]
DESCRIPTION
uxterm is a wrapper around the xterm(1) program that invokes the latter program with the 'UXTerm' X resource class set. All arguments to
uxterm are passed to xterm without processing; the -class and -u8 options should not be specified because they are used by the wrapper.
See the xterm manual page for more information on xterm-options.
The environment's locale settings (see "ENVIRONMENT" below) are used to discern the locale's character set. If no current locale can be
determined, the locale 'en_US' (the English language as used in the territory of the United States) is assumed. The locale(1) utility is
used to determine whether the system supports the selected locale. If it does not, uxterm will exit with an error and report the output of
locale.
Note: uxterm may produce unexpected results if the current locale is set to one in which the UTF-8 character encoding is not supported, or
if fonts using the ISO 10646-1 character set are not available. In the Debian system, the 'xfonts-base' package provides the fonts that
uxterm uses by default. To change the fonts uxterm uses, edit the /etc/X11/app-defaults/UXTerm file.
A similar wrapper, koi8rxterm(1), is available for KOI8-R environments.
ENVIRONMENT
LC_ALL, LC_CTYPE, LANG
The values of these variables are checked, in order, to determine the character set used by the current locale.
AUTHOR
Thomas Dickey
SEE ALSO
locale(1), locale(7), koi8rxterm(1), xterm(1)
Debian Project 2004-12-19 uxterm(1)