Handy Linux Commands
for files in *.json; do rm "$files"; done
for files in *.json; do scp "$files" art@art-server:/apps/art/data/app/json/.; done
zip -r -s 100m ArchiveName.zip FolderName
zip -s0 ArchiveName.zip --out new.zip
timedatectl set-timezone America/Chicago
find . -name '*.csv' -exec zip '{}.zip' '{}' \;
find . -name '*.csv' -exec tar -zcvf '{}.tgz' '{}' \;
{ echo -e 'Line 0'; cat file; } > file1
du -a * | sort -r -n | head -10
cut -f 1,3domains-group -d , 000000_0 > update_000000_0
tar -zcvf compressFileName.tar.gz folderToCompress
user=art
ip=192.168.1.1
command="cat"
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $user@$ip $command
for i in `seq -w 0 10`; do echo "Hello $i"; done;