int main ( void )JinXed refference site. Linux, opensource and loads of tech..man, whatis, apropos and info - Reference manuals- January 19, 2006 Welcome to the first special weekend edition of Tool of the day (totd).This special is about the most needed tools for any unix user, novice or expert alike. At the end of my first totd I pointed you to the man or manual page for ls.The 'on-line reference manuals' or man pages as they are commonly refered to are available for most, if not all, common nix tools.The most common way to use these is to just type man command.A better way is to use man section command in this way you are sure to get.http://intmainvoid.nl/item/31 mv - Move (rename) files- January 18, 2006 After yesterdays feature rich tool, today an easy one..You might know the standard syntax. $ mv source destination But there are some more tricks mv can do..I'll start with the most common optionsIf you don't want to be prompted before overwriting use the -f or --force option.If you do want to be prompted you can use the -i op --interactive option.These settings can also be toggled with the more obscure --reply= option. This one needs either yes, no or query as a vallue.. The yes is the same.http://intmainvoid.nl/item/30 ls - List directory contents- January 17, 2006 The first in this series, tool of the day.. This is perhaps the most important and common command there is on any unix system.. $ ls Well that just shows us a list of files and folders in your current working dir. It might be coloured, it might be plain.. That all depends on your ls version and some enviroment variables we'll get into later.. $ ls --version ls (coreutils) 5.2.1 Written by Richard Stallman and David MacKenzie. Copyright (C) 2004 Free Software Foundation, Inc. This is.http://intmainvoid.nl/item/29 |