I often type the wrong command as follows under Linux bash shell:
rsync -av dir1 user@server1.cyberciti.biz:/path/to/dir1
OR
cp -av file1*.txt file2*.txt /path/to/dest
I need to correct those command as follows:
rsync -av dir5 user@server1.cyberciti.biz:/path/to/dir1
cp -av delta1*.txt delta2*.txt /path/to/dest
How do I replace dir1 with dir5 or file with delta and repeat the last command under bash shell?
How do I remove a symlink under Apple Mac OS X using bash command line option?
How do I use cat command on Linux or Unix-like operating systems?
How do I move a folder in BSD/Linux/Apple OX or Unix operating system using bash command line option?
I‘m using vim as a text editor and editing a large code file written in python. How do I jump to end of file using vim text editor under Apple Mac OS X Unix operating systems?
How do I read (mount and access files) ext3 / ext4 external hard disk partition under Mac OS X?
How do I securely transfer files from one UNIX / Linux server to another UNIX server using Windows or Linux desktop clients without using ftp client?