Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Jeremy, would you take for concideration to setup a *NIX tricks and hints secton, for instance I have a couple:
1) CDPATH env variable, if it is set for instance
[bash ~]$ export CDPATH=/usr/local/apache
when you enter from any directory you're in
[bash /var/log]$ cd htdocs
it will take you to /usr/local/apache/htdocs
2) !! at the command shell executes the last executed command
!m - executes the last command in history that starts with m for instance mail
!m (thsis is a colon p, not a smile face ) will print what was the last command that starts with m
3) hitting twice z while holding a shift key in vi in command mode saves the edited file and quits vi
4) touch -t 197001012100 foo updates atime on foo to Jan 1 1970 you just need to add hhmm (2100)
5) man manpage|col -b>manpage.txt
is usefull to redirect a rather big man page to a text file in easy readable format
6) Getting rid off annoying ^M (CTRL-M) in dos like files
tr -d "\015" < /dosfile > /unixfile
also possible in use in vi with search-and-replace command :%s/^M//g to get ^M you press CTRL+V+M
To be continued ...
Hey thanks Boris, those are pretty sweet. I think something like that would be a great idea, maybe as a sticky in one of the forums. I will add this one to my subscribed threads though in case that idea never makes it.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Tips and tricks might not be a bad idea. Not sure if I would rather have a forum for this or a seperate section. Let me think about that. FYI, you can disable smilies in a post by clicking the "Disable Smilies in This Post " checkbox. Thanks for the suggestion.
Hi, Jeremy it would be great, I think a separate section makes sense, also we can have a tip of the day or smtg along these lines.
P.S. And thatnks for the tip on disabling smilies, cool, I always descover something new over here even though this new has been here for a while.
Here is another one, ever wonder what takes so much space on you precious *NIX box run this
find $1 -type d | xargs du -sm | sort -g
from the directory in question and the most hungry chunk will show up last.
How about rather than giving a specific forum over to Tips 'n' Tricks, something like the Glossary/Man pages thing is set up? In order to prevent overloading of really-basic-everyone-already-knows-it tips, perhaps either a moderator could be appointed to remove any that are deemed to be stupidly simply, or as with the Glossary thing, the tips are emailed to Jeremy direct and He sifts through them and decides?
WHAT? I thought just about everyone over there had converted to the Euro. Like 12 something countries already right? This is about as far as my knowledge goes outside of my "sheltered" little existence over here in the US.
Yeah, I think it's more like 15 (not sure... will check later). Even Eire (Southern Ireland/Republic of Ireland to everyone else) have gone over to the Euro, but us Englanders haven't yet. I'm betting that we will within the next 5 years, though.
Dai, forgive me for asking, but is Wales considered a seperate country by the EU yet? This is not a flame... I know that Scotland is considered a seperate country, but I thought that Wales was considered as more of a partially-autonomic principality?
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Hi Thymox I dont think we are classed as a seperate political state as of yet (We voted against it 52% to 48% I believe). Which Im glad about coz as much as I love my country I just dont think we would be able to sustain ourselves without being part of the UK. I mean some of these Assembly Members that we have as part of the devolution process dont really have much of a clue and are far more interested in minor issues than issues that affect the whole of the country. In principle it is good that we have more control over issues that affect our country, but I dont think our general assembly should be granted more powers until they can handle it.
Mind you I still love it when Wales beat England
Im just not one of those crazy people who think we should throw everybody who cant speak Welsh out of the country.
Oohh, I love it when the discussion drifts off the topic . But here is another one, ever wonder you can learn perl right on your PC without going to online tutorials - install perl and perldoc (which is a part of perl)
type perldoc perl and see what you can get out of it.