Category Archives: My Linux

scp

1. “Putting” a single file ucsu> scp mydata.dat newton.colorado.edu:NewData.txt copy file “mydata.dat” from your current computer/directory to your home directory on newton.colorado.edu, naming the copy on newton “NewData.txt”. ucsu> scp mydata.dat newton.colorado.edu: same thing, but the copied file on newton … Continue reading

Posted in My Linux | Comments Off on scp

SCP to another PORT, not port 22

  Capital “P”. $ scp -P 12345 svn_backup.tgz user@xxx.xxx.xx.xxx:/path/to/new/svn/ 

Posted in My Linux | Comments Off on SCP to another PORT, not port 22

command line tips and tricks

Version:1.0 StartHTML:000000196 EndHTML:000060386 StartFragment:000010516 EndFragment:000060318 StartSelection:000010516 EndSelection:000060312 SourceURL:http://blogs.iabsolute.com/?p=592 command line tips and tricks « Blogs IT Networking These tips are in no particular order…. Watch a log file as its appended to tail -f logfile Redirect a man page to … Continue reading

Posted in command line of linux, My Linux | Comments Off on command line tips and tricks

clear ROOT email from LINUX

mail -f /var/spool/mail/user delete * then q (this clear all mail) if somehow can not delete and get error “value too large for defined data type” Clearing Email Sent To Mail Root: cat /dev/null > /var/spool/mail/root Clearing Logs: cat /dev/null … Continue reading

Posted in My Linux | Comments Off on clear ROOT email from LINUX

ntpdate – time

A good server machine should always tick its clock with correct time. The best way to keep it in shape is to sync with a time server. You can use any preferred time server to sync. I’m using public time … Continue reading

Posted in My Linux | Comments Off on ntpdate – time