vi? nano ? WTF linux people! how come no one had write a program like edit (MS)? Is like using a rotten old knife to perform surgery! Is 2012 for god's sake!!
I get it's useful for console purposes but I remember latest versions of edit.exe come with multiple file handling and mouse support, selects words, half lines, copy and paste was way too easy. How come I didn't heard of any of that for linux? I been looking around some time ago and couldn't find any similar. Any news?
There is but you need to be running an x session to see it. Chances are if you are using a server of some sort, its in runlevel 3 where the gui isnt running.
@iamfaze exactly but a editcom was a MSDOS "console" program if you know what I mean, I'll like an editor like that in linux, so I can edit comfortably a extensive file lets say an apache vhost.conf file when I need to copy and paste a lot. All through remote console. In a X instance I can use ultraedit or komodo if that matters. I don't understand why linux tools have to be so uncomfortable. I get the security the password and all, but why the ugliness and discomfort?
Linux wasn't made to be comfortable. It made to be optimal.If you use vim(enhanced vi), there is some useful syntax highlighting. But the real power is in the shortcuts.
ex: open a file in vim. Then type :vs anotherfile.txt
This will open a second editor side by side. use ctrl w+w to switch between them. Use yy to copy a line, it can carry data between the two open windows.
Point being, it has a learning curve, but if you spend the time, you will gain greatly.
Hey Man, i think you forgot to say that perl is a little bin like PHP becuz i know PHP and i wanted to learn some perl and i found perl easier after i found out its like php
I heard that facebook was made with some perl. What did Mark Zukerberg do with perl to help him develope facebook? In other words what role did perl play Mark Zukerberg's programing. Thanx. I subscribed!
@dvdratto if thats true, then it stands to reason your at least 18 and he is 11. Chances are he knows more than this, and he will know more than you when he's your age.
this tutorial is shit i dont know what programs to use you just start jumping to the script what program, do I use in Windows holy shit it look nothing like yours!!!!!!!!!
Chomp removes the unecessary characters the STDIN will by default put in with your input, hence the newline. You can also do it all in one line as so:
@TheRatiniked In this tutorial I use ViM to edit a .pl file. I run it using the perl interpreter (located by default at /usr/bin/perl.) If you have an operating system other than mac, you will have to use a 3rd party text editor and possibly need to download a perl interpreter.
@brettrink that was just saving Via ViM. If you are considering coding in perl, if I were you I would use textedit, xcode, or nano, nothing like ViM. But if you want to say as I do you press Escape, then type :x and hit enter.
@macheads101 Totally agreed! I am not sure how old you are, but you seem like a very early teen... here you are with knowledge on how to program and offering free audio/visual lessons... and this dude who is probably at least four times your age can only whine about it. Keep up the good work and thanks a million!
@kpb96m Funny, I can see everything just fine. Perhaps you're blind or stupid. Whatever the case, you're an asshole. How old can this kid possibly be? Regardless, he did a fine job.
before you try that, I will try making another Perl lesson by Wednesday. It will have if statements and other things you'll find more use full than anything you've learned so far.
nice tutorial
CrazyMan15218 1 day ago
vi? nano ? WTF linux people! how come no one had write a program like edit (MS)? Is like using a rotten old knife to perform surgery! Is 2012 for god's sake!!
I get it's useful for console purposes but I remember latest versions of edit.exe come with multiple file handling and mouse support, selects words, half lines, copy and paste was way too easy. How come I didn't heard of any of that for linux? I been looking around some time ago and couldn't find any similar. Any news?
capitanqueso 4 weeks ago
@capitanqueso
There is but you need to be running an x session to see it. Chances are if you are using a server of some sort, its in runlevel 3 where the gui isnt running.
iamfaze 3 weeks ago
@iamfaze exactly but a editcom was a MSDOS "console" program if you know what I mean, I'll like an editor like that in linux, so I can edit comfortably a extensive file lets say an apache vhost.conf file when I need to copy and paste a lot. All through remote console. In a X instance I can use ultraedit or komodo if that matters. I don't understand why linux tools have to be so uncomfortable. I get the security the password and all, but why the ugliness and discomfort?
capitanqueso 3 weeks ago
@capitanqueso
Linux wasn't made to be comfortable. It made to be optimal.If you use vim(enhanced vi), there is some useful syntax highlighting. But the real power is in the shortcuts.
ex: open a file in vim. Then type :vs anotherfile.txt
This will open a second editor side by side. use ctrl w+w to switch between them. Use yy to copy a line, it can carry data between the two open windows.
Point being, it has a learning curve, but if you spend the time, you will gain greatly.
iamfaze 3 weeks ago
Perl Express is a neat little editor
ChannelingusLLC 1 month ago
Hey Man, i think you forgot to say that perl is a little bin like PHP becuz i know PHP and i wanted to learn some perl and i found perl easier after i found out its like php
IGAKMA1N0NE 2 months ago
11yo boy? Hehe. Thumbs up.
Doctrinnn 2 months ago
If you were in my house i would compile a big fart and let it rip on your ear. Ur a sleezy little fag
MrRyannnnnnnn 2 months ago
I heard that facebook was made with some perl. What did Mark Zukerberg do with perl to help him develope facebook? In other words what role did perl play Mark Zukerberg's programing. Thanx. I subscribed!
az100eletronics12 2 months ago
@az100eletronics12
Facebook front-end is Perl-based.
Doctrinnn 2 months ago
Shizzel
Nice!!
nandor690 3 months ago
you noob i know more than that and i program for the navy
dvdratto 5 months ago
@dvdratto Ok so why don't you go and defend our country instead of trolling an 11 year old boy?
macheads101 5 months ago 41
Fuck american military! Respect american programmers!!!
vsyostudiotv 1 month ago
@macheads101 EPIC!!!!
npsmithify 1 day ago
@dvdratto if thats true, then it stands to reason your at least 18 and he is 11. Chances are he knows more than this, and he will know more than you when he's your age.
CrazyMan15218 1 day ago
GREAT WORK...
Keep it on.
Good for starting to learn it.
RikkiSiddharth 6 months ago
Subbed immediately when you named the variable shizzle.
bmxtra211 6 months ago
how do I download this terminal thing?
milkymilkway 6 months ago
this tutorial is shit i dont know what programs to use you just start jumping to the script what program, do I use in Windows holy shit it look nothing like yours!!!!!!!!!
milkymilkway 6 months ago
Go alex
Alexs321432 7 months ago
fag
c0decub 8 months ago
Chomp removes the unecessary characters the STDIN will by default put in with your input, hence the newline. You can also do it all in one line as so:
chomp($variable = -STDIN-);
MagicalMan687 9 months ago
Thanks. Very Helpful. Hope that you make more!
killer04seryer 10 months ago
You're not even running ubuntu.
1ofmeful 11 months ago
Thank you for the tutorial! I really enjoyed it! you made it simple
dadrosado 11 months ago
SWEET I LOVE IT
howtodothings100 1 year ago
looks like c++ xD
its similar?
Multichanbas 1 year ago
where do I get perl editor and compiler?
TheRatiniked 1 year ago
@TheRatiniked In this tutorial I use ViM to edit a .pl file. I run it using the perl interpreter (located by default at /usr/bin/perl.) If you have an operating system other than mac, you will have to use a 3rd party text editor and possibly need to download a perl interpreter.
macheads101 1 year ago
@macheads101 Not with linux.
AwesomeRants 6 months ago
How old are u? i guess u r a girl. r u married. i m single here. i like ur voice. its like pearls coming from ur voice.
pathikerchithi 1 year ago
Your video was helpful, thank you.
But how did you save the file "Wee" from the terminal?
It looked like you typed something at the bottom where the insert line is.
brettrink 1 year ago
@brettrink that was just saving Via ViM. If you are considering coding in perl, if I were you I would use textedit, xcode, or nano, nothing like ViM. But if you want to say as I do you press Escape, then type :x and hit enter.
macheads101 1 year ago
@brettrink in vi you escape out of edit mode, (Esc), then colon ( : ), type the letter ( w ) to save and ( q ) to quit, lower case.
:wq [return]
ratcave 10 months ago
This comment has received too many negative votes show
Nice and blurry thanks!
And you sound like shit.
kpb96m 1 year ago
@kpb96m if you want better tutorials, make them!
macheads101 1 year ago 14
@macheads101 Totally agreed! I am not sure how old you are, but you seem like a very early teen... here you are with knowledge on how to program and offering free audio/visual lessons... and this dude who is probably at least four times your age can only whine about it. Keep up the good work and thanks a million!
avalonspawn 9 months ago
@kpb96m Funny, I can see everything just fine. Perhaps you're blind or stupid. Whatever the case, you're an asshole. How old can this kid possibly be? Regardless, he did a fine job.
TheSimonScowl 6 months ago
@kpb96m get the fuck out of 240 and get a better computer, stupid shit.
Fundipppp 6 months ago
hello i am making a program where i can look at information of persons
but i have a tiny problem
when i want to type peter
and by accedentely i typed petr eg i programmed that it will say "person not found" and then it does a logout
how can i make that it automaticly goes back to who i want to type?
grttz
P.S.: u're great man i lurned a lot of you thnx
APPLE
pieter15884 1 year ago
@pieter15884 you want to use loops. you can google "loops in perl".
macheads101 1 year ago
Good vid but plz get a better recorder plz =)
randomhelpguy1 2 years ago
thank you so much. sometimes it didnt work but that was because i didnt type in something correctly
MacApple10256 2 years ago
WTF!? It doesn't work
FredrichNietzsche25 2 years ago
nice work dude!
ravishethwala 2 years ago
respect the kid, he did something
lakermangmx 2 years ago
blow ur nose
CatemacoRock 2 years ago
sorry I had a cold.
macheads101 2 years ago
Perl is an old language.... why not Python or Ruby? :P
1337sweden 2 years ago
Because back then I didn't know python nor Ruby. Still don't know Ruby. But I agree.
macheads101 2 years ago
hey how do you save the text file like oyu did through terminal like that?
Hendrixleft 3 years ago
I used a unix word processor. You should watch our terminal lessons to see how to do this kind of stuff.
macheads101 3 years ago
cool vudeo
wnt963 3 years ago
thanks
macheads101 3 years ago
Great video! im gonna try to make a simulator with terminal. Any ideas?
fsxelal 3 years ago
before you try that, I will try making another Perl lesson by Wednesday. It will have if statements and other things you'll find more use full than anything you've learned so far.
macheads101 3 years ago
thanks!
fsxelal 3 years ago
Your welcome.
macheads101 3 years ago