This file contains hidden or 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
| #In Bash and zsh you can do this with Brace Expansion. This simply expands a list of items in braces. For example: | |
| # echo {vanilla,chocolate,strawberry}-ice-cream | |
| #vanilla-ice-cream chocolate-ice-cream strawberry-ice-cream | |
| #So you can do your rename as follows: | |
| mv {,new.}original.filename | |
| #as this expands to: | |
| #mv original.filename new.original.filename |
This file contains hidden or 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
| (rsync -n -art -v --delete-after --force -e ssh integrator:/var/www/vhosts/caionascimento.com.br/httpdocs/catalogo_ifba/ /home/consultjr/merge/ 2>&1) | tee rsync_log.txt |
This file contains hidden or 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
| rsync -n -arptv --delete-after --force -e ssh caionascimento@174.142.14.170:/var/www/vhosts/caionascimento.com.br/httpdocs/catalogo_ifba/ /home/consultjr/Caio\ -\ Documentos/merge_cd_ifba/ |
This file contains hidden or 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
| mkisofs -J -r -relaxed-filenames -nobak -allow-lowercase -V "[VOLUME_NAME]" -o ./cd.iso [DIR] |
This file contains hidden or 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
| /*! | |
| * Bootstrap v2.3.2 | |
| * | |
| * Copyright 2012 Twitter, Inc | |
| * Licensed under the Apache License v2.0 | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Designed and built with all the love in the world @twitter by @mdo and @fat. | |
| */ | |
| .clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0;} |
This file contains hidden or 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
| /* ----------------------------------------------- | |
| Globals | |
| ----------------------------------------------- */ | |
| html, | |
| body { | |
| height: 100%; | |
| /* The html and body elements cannot have any padding or margin. */ | |
| } |
This file contains hidden or 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
| alias ..='cd ..' | |
| alias ...='cd ..;cd ..' | |
| alias cl='clear' | |
| alias commit='git commit -a' | |
| alias cp='cp -i' | |
| alias dir='ls --color=auto --format=vertical' | |
| alias doublequote='awk '\''{ print "\""$1"\"" }'\''' | |
| alias em='emacs -nw' | |
| alias eqq='emacs -nw -Q' | |
| alias l='ls -CF' |
This file contains hidden or 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
| cat target_file | awk '{ print "'\''"$1"'\''" }' |
This file contains hidden or 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
| cat targe_file | awk '{ print "\""$1"\"" }' |
This file contains hidden or 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
| ls -l -B |