add
cat.htm |
add
- cat base09.* > base09.tar.gz
- cat base09.* | gunzip | tar xvf -
|
cdburn.htm |
add
|
cdrecord.htm |
add
cd recording
|
chmod.htm |
add
permissions for file access
|
comp-cvs.en.html |
add
|
comp-cvs.html |
add
Miscellaneous informations (about CVS)
CVS でバージョンを管理する
|
compressionMethods.htm |
add
compression methods
cp.htm |
add
cp command
cron.htm |
add
make the cronjob called 00webalizer, so that it runs before everything else
crontab -e allows each user to make own cron file
- 1-59: minute
ctags.txt |
add
ctags -R .
|
cygwin.htm |
add
cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
[-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
cygrunsrv -S service_name
cygrunsrv -E service_name
|
diff.htm |
add
diffone:
this is from diff one
diffone |
add
this is from diff one
this is line 2 which will be deleted from diffone but not from difftwo
this is line 3 which will be deleted from diffone but not from difftwo
this is line 4 which will remain in both diffone and difftwo
|
diffresult |
add
1,2c1,2
< this is from diff one
< this is line 2 which will be deleted from diffone but not from difftwo
---
> this is frmo diff two
|
difftwo |
add
this is frmo diff two
this is line 3 which will remain in both diffone and difftwo
this is line 3 which will be deleted from diffone but not from difftwo
|
dpkg.txt |
add
$ dpkg -l j2sdk1.3 galeon
ii j2sdk1.3 1.3.1-1 Blackdown Java(TM) 2 SDK, Standard Edition
ii galeon 0.12.4-0.1 Mozilla based web browser with GNOME look an
$ dpkg -S gnome-settings-daemon
capplets: /usr/lib/control-center/gnome-settings-daemon
|
ed.htm |
add
find.htm |
add
getting around with commands on linux: find
ftp.htm |
add
|
gnotime.htm |
add
gnotime
|
grep.htm |
add
|
hdparam.htm |
add
hdparam
- hdparm -a /dev/hda
- tweak this value with -a 8 -a 4 etc.
- hdparm -tT /dev/hda
head.htm |
add
- head -12 bash.htm
- top 12 lines
- head -12 lynx.htm | cat -
- same as above
iconv.txt |
add
iconv --from-code=euc-kr --to-code=UTF-8 < zboard.php > zboard2
|
in_sbin.htm |
add
- c2ph
- does something with the assembler code
- cal
indent.txt |
add
for loop formatting
===================
-br,-bl Specifying -bl lines up compound statements like
this:
|
init_rsync.text |
add
#!/bin/sh
# In this case, it runs a script to use rsync to copy files from the directory /etc/distrib on the server (baskerville, for now) to /etc/distrib on the client. While rsync can run over ssh, we first need to check that the ssh config files are up-to-date. So the first part of the script handles copying the files in /etc/distrib/ssh, and then the script copies everything else in /etc/distrib over ssh:
#
# Script for pulling system administration files from a server via anonymous
# rsync over ssh
|
kill.txt |
add
kill ` ps -aux | awk ' ($11 ~ /\/usr\/sbin\/sshd/) { print $2} '`
|
ln.htm |
add
- ln -sf /var/some/directory
- will create a sym link that directory and the sym link will be of the same name
|
ls.htm |
add
getting around with commands on linux: ls
lynx.htm |
add
- update dynamic dns
- lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
|
lynx.txt |
add
update dynamic dns using lynx
lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
|
mc.htm |
add
- mc -P
- starts as usual
|
md5.htm |
add
md5
here is a MD5SUM file as found on www.openmail.org: f1a1d9633160d71af8c91eb22c398b24 openwebmail-1.90-20030307.i386.rpm. Yes, that's the whole file!
NOW WHAT???
[root@www SOURCES]# md5sum openwebmail-current.tgz
miscellaneous.htm |
add
- cmp
- compares 2 files and tells if they're the same (same as diff if you want to just compare).
|
mkisofs.htm |
add
|
mknod.htm |
add
|
mogrify.txt |
add
Sorry, just a Linux explanation for others who might be interested
I use the following two:
mogrify -resize "x1200" *.jpg
mogrify -resize 1600x -resize "x1200<"
The first makes a picture WhateverX1200. The width can be more or less,
|
mount.htm |
add
|
nessus.htm |
add
a software security tool operating off port 3001 (default).
sayings uttered by program on install:
- Nessus is now installed on this host
- Create a certificate for nessusd using /usr/local/sbin/nessus-mkcert
nm.htm |
add
The nm(1) command can report the list of symbols in a given library. For a given library nm(1) can list the symbol names defined, each symbol's value, and the symbol's type. It can also identify where the symbol was defined in the source code (by filename and line number), if that information is available in the library (see the -l option).
source: http://www.cgsecurity.org/Articles/1-MISC/Protections-1/
Avec gcc, nous transformons ces instructions en
|
nslookup.txt |
add
nslookup
set type=mx
mydom.com
|
parted.htm |
add
parted: a program that allows you to create, destroy, resize, move and copy hard disk partitions. This is useful for creating space for new operating systems.
|
patch.htm |
add
patch takes the output of diff and applies it to a source tree
it will rename the original file to old_file_name.orig
patchref.txt |
add
[joe@www mysql++-1.7.9]$ patch -p 0 < mysql++-gcc-3.0.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|
ps.txt |
add
joe 16509 0.0 0.2 7892 2640 pts/2 S 21:11 0:00 vim select_term.c
joe 16524 0.0 0.0 1324 296 pts/1 T 21:13 0:00 ./select_call 1026
postgres 16535 0.0 0.3 11260 3760 ? S 21:18 0:00 postgres: user db [local] idle
I was wondering what the T was ... traced/stopped.
|
quota.txt |
add
quota -v
shows my disk quota
|
route.htm |
add
try here
|
rpm.htm |
link to the other rpm file
rpm
|
rsync.htm |
add
rsync
|
semaphores.htm |
add
http://www.cs.concordia.ca/~comp346/winter00/info_sem_shm.html
|
service.htm |
add
| | | | | | | | | | | | | | |