Tag Info

New answers tagged


I think you're just trying to copy files from the server behind NAT via gatewayserver. I'd suggest you more simple solution. Set up password-less authentication (put private key from your desktop/Mac to both mentioned servers) Use smth like ssh -MNf -L 60022:storageserver:22 username@gatewayserver to set up ssh tunnel via gatewayserver. Now your Mac's ...


If you look at Shell Script for logging into a ssh server you'll notice that the shebang line is #!/usr/bin/expect This is an expect script, not a bash script. You'll need to install Expect if you don't already have it.


The OS X version of date uses the -f option to parse a formatted date/time: date -j -f '%Y%m%d' "$1" +'%Y%m%d' The -j option causes it to just print the time, not try to set the system clock. So the full script would be: #!/bin/bash echo "$1"; startd=$(date -j -f '%Y%m%d' "$1" +'%Y%m%d'); echo "$startd"; Here's a transcript: $ ./testdate.sh 20151010 ...


If you are trying to format date on OS X, you can try this: date -j -f "%Y%m%d" "20151010" I get the following output: Sat Oct 10 17:27:28 CDT 2015


I use this on my lubuntu sudo add-apt-repository -y ppa:irie/blender sudo apt-get update sudo apt-get install blender This is my screenshot when I install blender on lubuntu.

Top 50 recent answers are included