Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ctrl-C is that command in Linux as well, not sure how it works over FTP. If you can open multiple sessions, you can use "killall <programname>" or "ps" to list processes and their PIDs and then "kill <PID>" to kill it that way.
When piping something to less (remember, less is more than more ), you just press "q" at the end to get out (type "h" to get info on all available options).
Say I enter ls -l
There are 1000's of files in that directory so it'll take a long time to list. I want to break in the middle of it - just like the way we do in Windows - CTRL + C. But thats not working in Putty
Ctrl-C should work in Linux, I'm guessing FTP is set up in a way where that won't work for some reason. I'd suggest "ls -l | less" and scrolling down to the part you want. Type "h" to see all the options, you can go to a line number, search for words, etc. to find the section you need. Or if you just want the first certain number of lines look at "head -n"
I'm guessing FTP is set up in a way where that won't work for some reason.
- Using SSH.
And even I do type ls -l | less, the problem is, I still cant get out of it in the middle - and even worse - when ls -l | less is over, it displays a highlighted (END) from which Im unable to get out - I had to close Putty altogether.
What do you guys use for remote accessing of a Linux Server ?
Would it be far more easier, better if I have a Linux PC to access my remote Linux Server ?
Of course not, since "ls" just prints everything in one go. It doesn't put any pauses in the middle, so you
can't interrupt it (unless with Ctrl-C, but that may not work with PuTTY, as has been said earlier).
ls|more and ls|less actually take the output of "ls" and feeds that as input to "more" or "less" (same way
as on Windows). "more" and "less" then print the lines, but with pauses after each page. During such a pause,
you can jump out with "q".