$tr a-z A-Z < input.txt
stdout to file
$cat input.txt > /dev/null
stderr to file
$cat input.txt 2> /dev/null
both stdout and stderr to file
$cat input.txt > /dev/null 2>&1
$top -u <UserName>
show active users on the system
$w
check current user name
$whoami
The remote directory should be the absolute path, not a soft link.
$rsync -avzP local-dir remote-dir
check user
$who
user1 pts/0 2007-03-10 02:21 (:0.0)
Write message, hit enter to send, ctrl+D to quit
$write user1 pts/0
tar files and directories
$tar -cvzf <xxx>.tgz folders/ file1 file2 ....
untar compressed file
$tar -xvzf <xxx>.tgz