Skip to content

How to copy all files via FTP in rsync

I have online account with some Host which give me FTP account with username and password . i have another with copany which gave me FTP and rsync . Now i want to transfer all my files from old FTP to NEW FTP with rync. Now is it possible to do it via rsync only because i don’t want to

How to select the output device of audio in ubuntu manually?

In Ubuntu, we can select the output device of audio in sound preferences. But now I want to write a shell script, so I need to select the output device from the commandline. Answer You can first view your current default audio device by typing: And with you can view all your devices. And with this command you…

Tailing a file from where I left off before?

Suppose I have a file. I tail its last 10 lines and got some data. And the next time I come to tail, its length increases by 4. So I need to tail only that many lines to get data. Is there a simple command line for this? Like a mix of tail, wc, and grep? Answer If you save