Scripting
Read More
Piping binary data to a remote shell via ssh
tar -czpf – source_dir –exclude=/proc –exclude=/mnt | ssh user@desktop ‘cat > /path/to/target/dest.tar.gz’
A chronological documentation test project, nothing serious, really!
tar -czpf – source_dir –exclude=/proc –exclude=/mnt | ssh user@desktop ‘cat > /path/to/target/dest.tar.gz’
# ps auxww | grep “udev\|devfs” | grep -v “grep” # cat filnavn.txt |grep “\”Name\”\|Description” > skrivere_navn_og_ip.txt
Run this command from a console window ps axo “%u,%U,%p,%a,%z”
# ps ahx –format=%c | sort -u