Search code examples
EXAMPLE-A
linux
shell
unix
sftp
Run Nohup while SFTP
I have huge file to transfer from one server to another server.
Im using sftp mode and using command eg: "sftp>put file.txt"
Question : how do i run the command in nohup so that i can close my sftp session without killing the transfer process.
Solution
echo "put file.txt" | sftp -b - servername &
If I understand you correctly.
Why do some files names in Linux start with numbers?
How to upgrade AWS CLI to the latest version?
How to change the format of tarballs when running `make dist` in autotools
10 second delay between login and shell prompt.
Running Java Program from Command Line Linux
Call a Java program from a C program in Linux
Unix shell loop to check if a directory exists inside multiple directories
Environment Variable not loading with load_dotenv() in Linux
How to suppress irrelevant ShellCheck messages?
Need to grep two different output but filenames are same
check if a file is jpeg format using shell script
Check battery level of connected bluetooth device on linux
Count number of lines in a non binary file (Like a CSV or a TXT) file in terminal
Closing screen by bash script
Using ls to list directories and their total sizes
Warning: Could not start program with arguments. Warning: Exec format error
How to compare two tab-separated files and mark 'Fail' if col6 of file1 matches col2 of file2, else 'Pass'?
Grayscale image conversion .img to .ras - In Linux grayscale in Windows white and blue?! C
how to identify the priority range in Linux?
List all mounts in Linux
Add interpreter to shared object without touching the code
How to see full absolute path of a symlink
Can't find ttyUSB[id]
How can I use source in golang's os.StartProcess arguments?
Sub-shell differences between bash and ksh
Can I read SD card serial number connected with USB card reader/writer as mounted sda?
linux script that monitors file changes within folders (like autospec does!)
find command output filtered with grep
Run a command whose absolute path is stored in a variable
Concatenating to Clipboard?