

can be used with ODBC compatible databases on Windows, Linux, and Unix.
Use cd to change directory and ls to check the file copied correctly. .Check that the file has been copied correctly by changing directory to folder2 and listing the contents. Share Improve this answer Follow edited at 23:02 Peter Mortensen 31k 21 104 130 answered at 7:05 NeliJ 1,361 1 8 5 7 +1. Ctrl + A, H: Begins/ends logging of the current window to the file 'screenlog.n'. We can supply the cp command with the name and location of the target file to copy and where to copy the file, renaming it to test2.txt along the way. You can also use Ctrl + A, H to save loggings into a screenlog.n file. Copy and rename the test file from the home directory. 4 Answers Sorted by: 37 You could use rsync (it also does local copy) rsync -r -ignore-existing -include/ -include. There are several options, however no way to retrieve the data after the process is done as bash (and other shells) dont log output. Most new linux servers out there are using systemd/journal these days. Move inside folder1 and make a test file called test1.txt. Log files are located in the folder HOME/.pm2/logs. From the home directory run the following command to create two new directories.

Here’s an example of how it could be done.ġ. If you know the location of a file and the target location you want to copy the file to, you don’t need to move into the directories directly and you can run the cp command from the home directory.
