Apple Mac OS

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?

{ 5 comments }

How do I remove a symlink under Apple Mac OS X using bash command line option?

{ 1 comment }

cat command

I am a new Linux and Unix system user. How do I use cat command on Linux or Unix-like operating systems? Can you provide basic examples and syntax usage for cat command?

{ 7 comments }

How do I move a folder in BSD/Linux/Apple OX or Unix operating system using bash command line option?

{ 0 comments }

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?

{ 3 comments }

How do I read (mount and access files) ext3 / ext4 external hard disk partition under Mac OS X?

{ 13 comments }

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?

{ 27 comments }