- There are three types of permissions in files and folders in unix
- Read (r)
- Write (w)
- Execute (x)
- And, there is a classification of users called UGO (explained bellow):
- U ~> User (usually, you)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global http.proxy http://myproxyserver:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# KIOSK generator for Scientific Linux and CentOS (versions 5; 6 and 7) | |
# Created using Scientific Linux | |
# Wasn't made and never tested on different distros than SL/CentOS/EL! | |
# Version 1.4 for i386 and x86_64 | |
# | |
# Feel free to contact me: [email protected] | |
# www.marcinwilk.eu | |
# Marcin Wilk |
Complete overkill, but fun to learn and play with..
Basic steps:
- Install NiFi
- Secure NiFi (see NiFi Toolkit for home use)
- Create process group for the transfer
- Drag "ListSFTP" to the canvas, set host, port, user, pass.
- Drag "FetchSFTP" to the canvas, set host, port, user, pass.. set remote file to ${path}/{file}
Also set the settings tab to terminate the relationship for everything except success. - Drag "PutFile" to the canvas, set directory to put the files in.
On the settings tab, click the terminate boxes for both Success and Failure.
(Alternately you cansend to SFTP or other destinations) - Drag the arrow from ListSFTP to FetchSFTP and set it to Success when prompted.