Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 05:50
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
TIPS & TRICKS
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 10 Jan 2009, 09:39    Post subject:  TIPS & TRICKS
Subject description: Just because I haven't seen one listed
 

TIPS & TRICKS

I often see people post tips & tricks they've learnt that I think,
"Ooh yes, ...must save that"....
then it gets lost in the forum quagmire, as I can't locate/remember where it was
- guess I need a sticky flag or something, though I'm not an 'organised person' Embarassed

Anyway Rob/ecomoney just posted this, so I'm going to use it as a starter, for a place to find these sort of usefuls:-

Tempestuous asked;

Quote:
ecomoney,
please run this command
Code:
lspci -n

and post the results.


ecomoney wrote:
I actually did "lspci -n >> pci.txt" which sends the results to a text file, which I opened and copied and pasted the results. A little trick I learnt.


See what I mean?

So if you have any interesting tips & tricks please post here, if it gets too disorganised maybe we can use peppy's upgraded well-minded search

http://www.wellminded.com/puppy/pupsearch.html

to break it down into categories?

[snuck my tip in there] Wink

Please state if yours is puppyversion specific or across the board type tip/trick, if not obvious

Thanks, guys'n'gals

Aitch Smile

MODS wasn't sure where to place this, so feel free to relocate as you wish Very Happy
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 10 Jan 2009, 10:38    Post subject:  

and this

http://www.puppylinux.org/manuals/puppy-40/english/tips-and-tricks

and jb4x4's post here

http://www.murga-linux.com/puppy/viewtopic.php?t=27974

and EZPUP [WhoDo]

http://www.puppylinux.org/wiki/applications/dot-pets/ezpuphelp

bash [klhrevolutionist/2005!!]

http://www.tuxhelper.info/

security [John Doe]

http://www.murga-linux.com/puppy/viewtopic.php?t=18639

security follow up [budden comments]

http://www.puppylinux.org/manuals/puppy-40/english/security/firewall-and-daemons#comment-207

Hmm, - starting to get disorganised already [what did I say?]

@JohnM

Pity we don't have organisable/alphabetical sub-categories in this Forum, hint, hint Wink

Aitch Smile
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Sat 10 Jan 2009, 11:19    Post subject:  

Aitch,
As long as you know exactly how disorganised you are mate, you'll be right! Wink

(some useful tips there)

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Sat 10 Jan 2009, 11:23    Post subject:  

Sounds like a nice idea, here's a few icewm tips I've snipped from around the web Smile
ttuuxxx
icewmTips&Tricks.tar.gz
Description 
gz

 Download 
Filename  icewmTips&Tricks.tar.gz 
Filesize  7.01 KB 
Downloaded  322 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 10 Jan 2009, 20:57    Post subject:  

Organise them here
http://www.puppylinux.org/manuals/puppy-40/english/tips-and-tricks

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 11 Jan 2009, 00:47    Post subject: Tips and Tricks  

Here is a hidden gem in the puppy wiki, I often refer to this now Im getting my head around the command line. It offers examples of scripts and useful functions, such as making an iso out of a cd amongst many others.

http://www.puppylinux.org/wiki/archives/old-wikka-wikki/categorydocumentation/shellscriptsexamples

Im flattered such an innocuous post, has become a basis for a roundup of tips and tricks. I suppose if Ive learnt how to do anything technical with puppy linux over my past few years, its how to get help!!! Rolling Eyes

There is an art to being a newb....

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Billwho?


Joined: 06 Dec 2005
Posts: 570
Location: still "In The Dog House" East Coast Oz Trialing 4.20

PostPosted: Sun 11 Jan 2009, 04:30    Post subject: tee  

A handy command I have found is the "tee" command ( I use it all the time with configure when compiling ). If you would like to be able to read the output of a command in the terminal and have a text file copy as well just use :
Code:
 command -flags | tee command-output.txt

_________________
Linux = Learning through doing Shocked Confused Very Happy
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Sun 11 Jan 2009, 07:29    Post subject:  

This link :
http://www.puppylinux.org/wiki/archives/old-wikka-wikki/categorydocumentation/shellscriptsexamples

is really badly misnamed. The info there has nothing to do with bash scripting. It is, instead, a collection of handy CLI commands for accomplishing various tasks. I don't see anything about 'scripting' there. It is a misnomer to call command-line tools bash this or that, as they can also be run using any of several other shells.

Speaking of bash scripting would talk about things like shebangs, if statements, for and while loops, using brackets ([ or [[) to substitute for the 'test' command, command and variable substitution and other such subjects.

I don't mean to distract from the utility of such pages, but calling them by their correct name is a good place to start for organizing them. Tips and Tricks should probably be orgnaized according to categories which are easily understood by beginners and not alphabetically according to the name of the commands.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Sat 17 Jan 2009, 07:35    Post subject:  

Here's one, most of you may know this.
Hit 'Tab' twice in a console or terminal and it will print every executable on your system. Handy to know what's there.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 17 Jan 2009, 15:52    Post subject:  

@Lobster

re: organise them here

Brilliant for Puppy 4.0 users

& the rest....? Wink

Aitch Smile
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 19 Jan 2009, 03:38    Post subject:  

Tab also attempts to autocomplete when you're typing a path or command. If it can't decide, it will do as much as it can (if there are files name coolpizzapics and coolpizzafilms, and you type 'coo' and press tab, it will fill in the 'lpizza'). Then if you press tab a second time it will list the possibilities.

That's what's happening when you press it twice with no commands. It has no idea how to complete, so on the second press it lists all the options.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Mon 19 Jan 2009, 04:02    Post subject:  

Pizzasgood wrote:
Tab also attempts to autocomplete when you're typing a path or command. If it can't decide, it will do as much as it can (if there are files name coolpizzapics and coolpizzafilms, and you type 'coo' and press tab, it will fill in the 'lpizza'). Then if you press tab a second time it will list the possibilities.

That's what's happening when you press it twice with no commands. It has no idea how to complete, so on the second press it lists all the options.


There ya go! Wink (read my sig, lol)

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Mon 26 Jan 2009, 02:39    Post subject:  

Here is my favorite tip

`

and my second favorite

!

the first opens a terminal via ROX in the current folder
the second allows you to type one command in ROX

http://roscidus.com/desktop/
the ROX site has tons of amazing tips (especially for Puppy/puplet developers)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Tue 27 Jan 2009, 01:27    Post subject:  

If you add this to /root/.gtkrc.mine, you can change the keyboard shortcuts that ROX-Filer (and, I presume, some other GTK programs) use by hovering the pointer over the option and pressing the combo. I like to set [CTRL]-[D] for "Create New Directory" in ROX-Filer.
Code:
gtk-can-change-accels = 1

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 27 Jan 2009, 03:50    Post subject:  

technosaurus wrote:
Here is my favorite tip

`


Sweet and useful. I send myself an email containing my favourite bookmark links. Using that I can access web pages direct from my email program.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0899s ][ Queries: 12 (0.0078s) ][ GZIP on ]