Commands: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
install src.rpm | install src.rpm | ||
rpmbuild --rebuild alien-6.51-1.src.rpm | rpmbuild --rebuild alien-6.51-1.src.rpm | ||
rpm -i /usr/src/redhat/RPMS/x86_64/alien-6.51-1.rpm | |||
Clean file from comments and blank lines. | Clean file from comments and blank lines. |
Revision as of 08:20, 12 November 2006
bash: Get a list from 01 to 99. for ((a=100;a <= 199 ;a++)); do echo "$a"; done | cut -b2-3 install src.rpm rpmbuild --rebuild alien-6.51-1.src.rpm rpm -i /usr/src/redhat/RPMS/x86_64/alien-6.51-1.rpm Clean file from comments and blank lines. sed '/ *#/d; /^ *$/d' Update release area Windows. servicepack.exe -s:z:\w2k3 Syncronize folders. rsync --delete -az -e ssh acrobatreader acdse office2003 java nortonantivirus bjorklun@semco.homeip.net:/install/program/windows/ crontab. * * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0 - 6) (Sunday=0) | | | +------- month (1 - 12) | | +--------- day of month (1 - 31) | +----------- hour (0 - 23) +------------- min (0 - 59) 0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday Automated login on a user basis. ssh-keygen -t dsa Generate personal ssh keys. cat id_dsa.pub >> authorized_keys2 Copy your personal ssh key to all machines. chmod 644 ~/.ssh/authorized_keys2 Verify correct access on files.