Link to the Show / Show NotesGet It Now!
mp3 file
Contact Details:
Email: questions@rootsmart.com
Voicemail: (206) 734-4825
Skype: rootsmart
Donate
Vote for us at Podcast Alley
JTsBlog
Live Show site is up at liveshow.rootsmart.com
Also have a video on how to connect
Looking for Intros
Email:
From Robert:
Hey love your show. I listen to it on my headphones as I do my day job
which is all involving microsoft based technology - its great to mix up
my day with a bit of linux
I would like to hear you talk about different linux distributions. E.g.
best ones for newbies/learning, best one if your trying to replace
windows on a desktop pc. Etc.
Or perhaps some windows/linux dual boot info?
From Anonymous
Hey Joe, love your podcast.
I have a question about information management. I like to store tech information like tips and tricks, and troubleshooting information from the Internet. I was wondering if you had any recommendations for a system to organize this information. I would like a system that can keep track of metadata that can be modified, be flexible enough to handle multiple file types (including podcasts,) be able to add tags to the file, and store the whole system locally for travel/on a server to share with multiple computers. I was thinking of using a wiki, but I have no idea on where to start. (I have both Linux and Windows computers)
Thank you very much for any help you can give.
Try Treepad
Content:
Last time we did directories
this time we are going to go over editing text files
there are a couple of different tools in linux to do this
The two main ones are vi and emacs
we are going to talk about vi, and then another editor nano
So vi has been a text editor in linux for quite some time
It has recently evolved into vim which is VI Improved
and they just wen to vi version 7.0
My talk does not include 7.0 and any changes that were made with 7
so to start up vim type vim and then the file you want to edit
now this is text editor so it must be a text type file
To exit vim you can do one of two things
If you want to exit and save your changes you need to go into command mode
so press escape and then type :wq
this will quit and write
if you want to exit, but not save make sure you are in command
and then type :q!
once you have gotten into the file you aren't able to do much
so lets go into insert mode to do this just press i
now you are able to edit as you please
generally this is pretty straight-foward for editing
just type where you would like to type, and everything is good.
ok so now there are couple deleting commands, that you might want to know
if you are in normal mode you can press x to delete the character under your cursor
to delete a word you can type dw to delete a word
to undo something, don't press ctl-Z press u
To redo something type ctl-R
now lets do a cut command
to do this, we are going to erase something, lets say a word with dw
then we want to put this somewhere, you type p
and it will put what is in the latest buffer
ok so now to a find some text type /<text you want to find>
it will look or the text
to go to the next occurrence of the text type n
to go up the file type shift-N
So that is the for VIM
for a while, these are pretty hard initially to remember, but soon they will be muscle memory
you can also revisit all of this by typing vimtutor
this will give a you a walkthrough of VIM
in the new vim 7.0 there are some new advancements
the best ones, are spell check, omni completion, and tabs
spell check is pretty straight foward
as for omni-completion, it basic code completion for a bunch of languages
Tabs also are pretty obvious.
So, if you don't feel like memorizing all of the commands I recommend nano
nano is not as powerful
for basic editing it works just fine
there is the bar on the bottom that tells you everything you need to know
to start up nano type nano <file name>
now remember that the ^ means control
so that is text editors 101
if you would like to fiddle with other editors you can look at joe or emacs
there are tons out there
Technorati Tags: JT, Linux, text editors, RootSmart.com, vi, vim