Tag: file
SCP Copy from Remote to Local System
January 26, 2009
Copy files/folder from a remote server to this system. scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy .
Copy Files using SCP
January 24, 2009
Copy files/folder to a remote server. scp <file> binnyva@192.168.0.100:/home/binnyva/ scp -r <folder> binnyva@192.168.0.100:/home/binnyva/
Find Open File in a Given Directory
January 4, 2009
Find the process that’s opened the file from a specified directory. You can use this if you cannot unmount a…
Write and Append Permission
July 30, 2008
Allows write opening of a file only append mode chattr +a file
Compare contents of two files
June 23, 2008
Compare contents of two files by deleting only unique lines from ‘file1’ comm -1 file1 file2
Copy all Txt Files
May 18, 2008
Find and copy all files with ‘.txt’ extention from a directory to another find /home/binnyva -name ‘*.txt’ | xargs cp…
Encrypt/Decrypt using GPG
March 21, 2008
Encrypt/Decrypt a file with GNU Privacy Guard – GPG. #Encrypt gpg -c file #Decrypt gpg file.gpg
Recent Comments