Linux.com

Community Blogs



Stack Growth Direction.

#include <stdio.h>

void foo(int *);
int main(int argc, char *argv[])
{
int i;
foo(&i);
}
void foo(int *ii)
{
int j;
if ( &j <>
printf("I think the stack grows down.\n");
else if ( &j > ii )
printf("I think the stack grows up.\n");
else
printf("I'm really confused now.\n");
}
 

Good Luck

Good luck!linux.
 

NOOB's adventures in Linux From Scratch

 All I've got to say is if you're from the Windows world, there's no curveballs here. I breezed thru the X windows explanations all except the configuration files area without a hitch.

  Next up .... Getting things done in Linux    

 

Ha.

Well this is neat.
 

The Insufferable State of Linux Documentation

I've been waiting for a response from anyone from The Linux Documentation Project (tldp.org). Ghost town projects are normally not such a bad thing - often the page goes down and that's the end of it. Some projects are worth abandoning, as they become obsolete and are replaced by better things.

However, The Linux Documentation Project has been an institution in the Linux Community since 1992. Many of its guides and howtos are still relevant - Linux.com using them is proof enough of that.

The project is in bad need of an overhaul, though. There's little stylistic consistency between pages, the IRC channel (#tldp on freenode) is empty, the mailing lists are no longer a hotbed of activity. The simple steps of getting on the mailing list is made difficult by using an obsolete list program (Mailman could make signing up a snap). You cannot even get anonymous CVS access outside of their ancient CVS viewer.

Half of getting TLDP back on its feet won't even be working with the guides or howto's - it will be addressing the antiquated infrasture of the project itself.

 

A way to find a text string inside all files

# find / -type f -exec grep -l "word" {} \;
 

Learn How to Choose the CMS that’s right for you

Choosing an Open Source CMS is a new book from Packt that guides readers through understanding the different types of CMSs and selecting the one that best fits their needs. Written by Nirav Mehta, this book will help users assess their technical skill level and choose a CMS that combines ease of use with flexibility and power.

Open Source CMSs are the best way to create and manage sophisticated websites. Users can create a website that precisely meets their business goals, and keep the website up-to-date easily because these systems give them full control over every aspect of their website. Open Source CMSs are free to download, and have a vast choice between the various systems.

This book will show users how to avoid choosing the wrong CMS. It will guide users through assessing their website requirements, and based on this assessment, will help identify the CMS that will best fit their needs. It then talks about the major CMSs and the issues that users should consider when choosing, such as their complexity to use, their features, and the power they offer. Users will also be introduced to technical considerations such as programming languages, and compliance with best practice standards in a clear and friendly way.

Additionally, the book highlights many quick-start guides and examples for the most popular CMSs such as WordPress, Joomla! and Drupal. This allows users to experiment with these CMSs, get a feel of how they work, and start using them to build their website. The book also teaches users how to install and customize a CMS with themes and plug-ins. In addition to this, it covers practical tips on hosting, project management, working with specialists and communities, and finding experts.

Developers interested in creating a website by using a good CMS will find this book useful. This book is out now and is available from Packt. For more information, please visit: http://www.packtpub.com/choosing-an-open-source-cms-beginners-guide/book

 

About Sugar!

Sugar is the graphical user interface originally developed for the One Laptop per Child computer/education project and as of May 2008 being developed under the umbrella of Sugar Labs.

Sugar is used on the OLPC XO-1 laptop computer and is also available as a session option on Debian, Ubuntu and Fedora. Unlike more traditional desktop environments, it does not use a "desktop" metaphor and only focuses on one task at a time.

Main contributors to the project include Christopher Blizzard and Marco Pesenti Gritti, Eben Eliason, Tomeu Vizoso, Simon Schampijer, Dan Williams, Walter Bender, Christian Schmidt, Lisa Strausfeld, and Takaaki Okada. The free software community has also contributed greatly to Sugar. Released under the GNU GPL, Sugar is free software.

It is written in the interpreted Python programming language, whereas most other environments are written in a compiled language such as C. Sugar is also referred to as the OLPC Python Environment. It is composed of the Python language, GTK GUI and Gecko HTML engine.

If you want to get involved with it, search by Sugar Group!

 

Disable write

To disable the write command for a user, add the following line in his .bashrc file:
mesg off
You can turn it back by using mesg on or by simply deleting the line from .bashrc.
 

The Importance of Keeping Notes

All Linux Adventurers, but most especially new ones, will find it beneficial in the extreme to keep notes of their adventures as they progress in GNU/Linux Land.

My Linux Notebook is a simple bound composition book that you can buy in any grocery or general merchandise store. It looks like this...

 

... and costs a buck or so. If I had known then what I know now, I would have chosen a loose leaf version. I have many additions to my current notebook. I just slide in loose leaf pages within this existing composition notebook. A loose leaf binder would have been neater.

I divided up my notebook with stick on tabs. They divide the notebook into "General Linux" and "<insert name here>" distributions. I have a tab for each distribution that I've ever installed on any of my systems.

From the very start of the particular Linux adventure, the downloading/burning of the CD/DVD, I am taking notes. I write down the source of the download, the date of the CD/DVD creation, the method and means of partitioning, etc. After that, I take notes on everything that I do to setup and customize the operating system. 

As I continue to use and learn more about the particular distro, I maintain my notes for that distribution. Not only is it helpful in learning the particular ins and outs of a distribution, but it's very handy to have these notes when helping others or when reinstalling months later.

In the General Linux area, I keep all my notes about BASH, general scripting, init script tricks, tweaks for hardware, tweaks for GUI interfaces, etc. Basically, anything that is useful across Linux platforms gets jotted down in this area.

I cannot tell you the number of times in the past 3+ years that having these notes has saved my rear end. If my house caught on fire, I'd grab four things...my three cats and my Linux notebook!

Best of luck with your Linux Adventure!

Until next time...

~V. T. Eric Layton

***Tempus Fugits***

 

First post!

Hi this is my first post in this new blog, I really like the new linux.com so far and I'm looking forward to see how it will develop...
 
Page 122 of 132

Upcoming Linux Foundation Courses

  1. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    Details
  2. LFS425 Linux Performance Tuning Crash Course
    16 Oct » 16 Oct - Düsseldorf, Germany
    Details
  3. LFS220 Linux System Administration
    20 Oct » 23 Oct - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board