|
30
|
Mysql
|
|
|
0
|
|
29
|
Solaris
|
Start VNC server
|
svcadm restart inetd
----
SOLARIS 10
|
0
|
|
28
|
Unix
|
find big files
|
find / -xdev -size +1024 -exec ls -al {} \; |
|
0
|
|
27
|
Unix
|
Copy file from(to) remote server
|
scp user@host1:file1 user@host2:file2
|
0
|
|
26
|
Oracle
|
Oracle LIMIT
|
select o.* from (select rownum RWID , o.* from
|
0
|
|
24
|
Unix
|
open CPIO file
|
cpio -icdmv < cpioFile.cpio
|
0
|
|
23
|
Oracle
|
Data Pump in oracle 10g
|
# Create virtual directory
CREATE DIRECTORY D
|
0
|
|
22
|
Oracle
|
show user session
|
select sid,
to_char(logon_time,'MMDDYY
|
0
|
|
21
|
Oracle
|
crontab export Backup script
|
#!/bin/csh -f
#
#
# CRONTAB
# ORACLE BA
|
0
|
|
20
|
Mysql
|
Create mysql database user
|
GRANT ALL PRIVILEGES ON *.* TO userName@"%" ID
|
0
|
|
19
|
Unix
|
Directory list
|
for i in $( ls /myDirectory/ | grep 'Director
|
0
|
|
16
|
Spamassassin
|
Analyze spam messages
|
sa-learn --spam -u spamassassinUser /DirWithS
|
0
|
|
18
|
Unix
|
Find and replace some string in file (don't us ...
|
sed 's/OldValue/NewValue/g' inFile > tmpFile &
|
2
|
|
17
|
OpenLdap
|
Updates the indices for all values of all attr ...
|
slapindex -f /slapd.conf
|
0
|
|
13
|
Linux
|
SSH Tunnel in Linux system
|
ssh -Nf -p $SSH_PORT -2 -C -g -4 $SSH_USER@$SS
|
1
|