Skip to content

Nilorea Studio

Security, coding,gaming, research,photography, various stuff

Menu
  • Home
  • Nilorea Library
  • MagicLantern
  • About us
  • Contact
  • Privacy Policy
  • RSS FEED

Category: SSH

TOTD: Append local file to remote file via SSH

30 July 20209 August 2020 GullCode

Sometimes it’s handy to be able to directly append to a remote file. Here is how to do it simply:

cat my_file | ssh user@host 'dd of=/home/user/outfile oflag=append conv=notrunc'

#TipOfTheDay

Updated: 9 August 2020
Categories: Admin, SSH, System

Archives

Categories

Admin (8) Allegro5 (4) AstroPhotography (2) Clouds (3) Code (46) Competiton (7) CSS (1) Debugging (4) Error (3) Event processing (1) GameJam (7) General (21) Git (4) Hack (10) HackRF (5) Humor (1) KAFKA (1) Landscape (2) Macro (4) MagicLantern (2) Mayhem (6) Moon (1) MSYS2 (2) Music (2) Mutex (1) Networking (1) NiloreaLibrary (4) Photo (29) Photography (4) Portapack (6) RAW (3) Remarkable2 (1) Script (3) Security (1) Socket (2) Space (2) Stars (5) Sun (3) System (7) Threads (2) Trick (1) Video (3) vim/gvim (2) Winsock (1) xwin (2)

Tags

AI (2) Allegro5 (2) bash (2) Benchmark (1) C (4) clock_gettime (1) Clouds (2) Code (23) CSS (1) GameJam (4) gettimeofday (1) GIT (3) Hack (5) HackRF (3) HTML (1) KrampusHack (5) Learning (1) Library (3) linux (2) Lyon (2) Macro (2) Mayhem (4) meme (1) Meyzieu (3) Mezerg (1) MilkyWay (2) Moon (4) music (1) Nilorea (3) NTH-CHILD (1) opkg (1) Photography (16) Portapack (3) Recon (1) Remarkable2 (2) script (4) Search (2) Socket (2) ssh (1) stars (3) Sunrise (2) Sunset (3) TABLE (1) testing (1) TRICK (1)

About this site

Nilorea Studio company’s website. Documentations, resources, photos, code and stuff

 

Free dark wordpress theme