Oracle produces many extraneous files: trace files, log files, dump
files, and so on. Unless they are cleaned periodically, they can fill
up the filesystem and bring the database to a halt.
To ensure that doesn't happen, simply search for the files with
extension "trc" and remove them if they are more than three days old. A
simple command does the trick:
find . -name "*.trc" -ctime +3 -exec rm {} ;
To forcibly remove them prior to the three-day limit, use the -f
option.
find . -name "*.trc" -ctime +3 -exec rm -f {} ;
If you just want to list the files:
find . -name "*.trc" -ctime +3 -exec ls -l {} ;
查看全文rhce相关连接
查看全文RHCT和RHCE必要的知识点
1.考生必须必须掌握以下基本技能,因为它们是RHCT和RHCE考试中必考的内容
* use standard command line tools (e.g., ls, cp, mv, rm, tail, cat, etc.) to create, remove, view, and investigate files and directories
* use grep, sed, and awk to process text streams and files
* use a terminal-based text editor, such as vi/vim, to modify text files
* use input/output redirection
* understand basic principles of TCP/IP networking, including IP addresses, netmasks, and gateways
* use su to switch user accounts
* use passwd to set passwords
* use tar, gzip, and bzip2v
* configure an email client on Red Hat Enterprise Linux
* use mozilla and/or links to access HTTP/HTTPS URLs
* use lftp to access FTP URLs
查看全文系统维护常用配置文件
1./etc/hosts
主机名字解析文件,提供主机名和IP地址的对应。
2./etc/passwd
口令文件,内容为:
登录用户名:加密口令:用户ID:组ID:保留:初始工作目录:shell路径
3. /etc/group
内容为:
组名:加密密码:组ID:所有属于该组的用户。
4. /etc/profile
如果该文件存在,则每个用户登录时将执行该文件。该文件一般用于设置一些通用环境变量,如果用户的home目录中存在.profile文件,则在执行/etc/profile之后,再执行用户的.profile文件。
5. /etc/inittab
内部初始化之后,系统将启动/etc/init这个deamon进程,使/etc/init进程取得引导序列的控制权。而init进程从文件/etc/inittab(init table,初始化表)取得指示,该文件 的内容控制所有init状态,同时也控制那些已消亡进程的再生。
6. /etc/fstab
系统中可以mount的文件系统的信息。
7. /etc/lvmtab
使用命令:
# strings /etc/lvmtab;查看系统VG和磁盘信息。
8. /etc/rc.config.d/netconf
包含系统名称和网络配置信息,如IP地址、子网掩码和路由信息等。
9. /stand/system
包含系统的驱动程序和子系统信息,内核设备信息和一些系统可调参数信息。
来自:Linux知识宝库
现载:http://www.douzhe.com/docs/linuxtips/
地址:无名
查看全文
一、安装telnet软件包(通常要两个)
1、 telnet-client (或 telnet),这个软件包提供的是 telnet 客户端程序;
2、 telnet-server ,这个软件包提供的是 telnet 服务器端程序;
查看全文
来自:Linux知识宝库
现载:http://www.douzhe.com/docs/linuxtips/
地址:无名
先整理资料,省的到时候google,一下又找不到.麻烦,贴到blog里面做笔记把 查看全文
要做笔记,年纪大了,好多记不住,懒的google了
在xterm下输入setup或者Xconfigurator,就进入图形化配置X window界面,自己也就能看懂了。
自动进入文本模式,
修改/etc/inittab中:
id:3:initdefault
若把3改成5,则进入图形化界面。
做了什么事情,马上记下笔记,现在年纪大了,好多事情记不住的。
在vmware上安装了linux rhel 3.0,配置vsftp发现了问题:
[root@localhost vsftpd]# ftp 192.168.10.138
Connected to 192.168.10.138.
220 localhost.localdomain FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached
Name (192.168.10.138:root): root
530 Must perform authentication before identifying USER.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
google了一下,发现了解决方案:
If you are using gssftp
open this file:
/etc/xinit.d/gssftp
locate this line:
server_args = -l -a
remove the -a
that is it。
搞定了。以前的公司,linux方面,我们有人配置的,现在新公司,一。我也不认识人,也不知道叫谁去作。二。也不好意思在问这样弱智的问题了。自己搞定把。现在做个笔记了











