Tuesday, March 2, 2010
Terminal =]
Today in class we began learning how to use our Terminal.
Here's what we did in class:
ls
mkdir tmp
ls
>tmp
man ls
q
ls -a
cd ..
ls
>MH13
cd
ls
>tmp
cp -r tmp tmp2
ls
>tmp tmp2
mv tmp2 tmp3
(mv= move cp -r=copy rm= remove- becareful using rm- no UNDO- removes permanent)
rm -r tmp3
ls
>tmp
cd ..
cd..
cd home/(hit tab)
cd ../..
ls
>(computer information)
(tmp directory is a temporary junk folder that you can create and should not hold important info for long amounts of time or ever)
ls cygdrive
>c t
ls cygdrive/t
> (stuff)
ls cygdrive/t/cygwin/
>(stuff)
cd cygdrive/c/
>(Changes to directory cygdrive)
ls
> (cyg directory info)
cd /home/(hit tab)
date
>(todays date)
history
>(histroy of what you've done today)
history > /home/(tab)/fileName
cd~
ls
>tmp fileName
less fileName
>(your history)
We were told to take a tutorial on how to use the terminal. Being lucky my boyfriend has a degree in computer engineering and is working on his masters in the same now. I asked him to show me some things in my terminal.
Here's some of the stuff he showed me:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment