One should put single quotations for the wild card option.
> find $HOME -name '*.tcl'
This command is to find any file whose extension is tcl under the home directory including all the sub-directories.
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Friday, November 19, 2010
Wednesday, November 17, 2010
shell script
This script read a directory, zip the directory, and create directory.zip file.
And it send the zip file to specific location in my Mac computer using scp.
==========
#!/bin/sh
echo $1
zip -r $1 $1
scp $1.zip albertsk@stokes.eng.hawaii.edu:/Users/albertsk/Desktop/On-going/Presentations/APS-DFD/simulations/
And it send the zip file to specific location in my Mac computer using scp.
==========
#!/bin/sh
echo $1
zip -r $1 $1
scp $1.zip albertsk@stokes.eng.hawaii.edu:/Users/albertsk/Desktop/On-going/Presentations/APS-DFD/simulations/
Monday, November 15, 2010
Latex: how to change footnote symbols
Arabic numerals, e.g., 1, 2, 3... \renewcommand{\thefootnote}{\arabic{footnote}} | |
Roman numerals (lowercase), e.g., i, ii, iii...\renewcommand{\thefootnote}{\roman{footnote}} | |
Roman numerals (uppercase), e.g., I, II, III... \renewcommand{\thefootnote}{\Roman{footnote}} Alphabetic (lowercase), e.g., a, b, c... | |
\renewcommand{\thefootnote}{\alph{footnote}} Alphabetic (uppercase), e.g., A, B, C... | |
\renewcommand{\thefootnote}{\Alph{footnote}} A sequence of nine symbols (try it and see!) | |
\renewcommand{\thefootnote}{\fnsymbol{footnote}} |
LaTex: Long arrow
If
\longrightarrow
is not sufficiently long, try
\[ \xrightarrow{\hspace*{3cm}} \]
Saturday, November 13, 2010
PDF to Keynote (pdftokeynote)
For people who enjoys LaTex presentation, beamer, this free software "pdftokeynote"provides an excellent link between pdf and keynote. A pdf presentation is prepared using beamer with full functionality of math typesetting. Once the final pdf file is made, then pdftokeynote can convert the pdf file with a number of slides to a Keynote file. Each Keynote page includes a pdf image of the presentation. Only slide transition is possible in Keynote.
http://www.cs.hmc.edu/~oneill/freesoftware/pdftokeynote.html
http://www.cs.hmc.edu/~oneill/freesoftware/pdftokeynote.html
Subscribe to:
Posts (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)