LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
Search this Thread
Old 01-05-2006, 01:58 AM   #136
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47

About 140 pages of tricks by Mike Chirico (207 tips at the last count)
http://souptonuts.sourceforge.net/ho...pen_source.htm

(Have read only the first 5 pages :-)
 
Old 01-12-2006, 06:17 AM   #137
hi_msh
LQ Newbie
 
Registered: Dec 2005
Distribution: RedHat Linux9
Posts: 23

Rep: Reputation: 15
V nice thread named tips and tricks. learned a lot as i m a newbie. thanx to all for writing a lot of tips in this single thread.
 
Old 06-10-2006, 07:27 AM   #138
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
fdisk -l output with partition label appended - Bash script available

#Append partition label/name to fdisk -l output
#Version 0.01b By Emmanuel_uk using unSpawn kind suggestions
#Tested with ext3 and Reiserfs. Fat ignored.

The script is available from thread called
fdisk -l output with partition label appended - Bash script available
http://www.linuxquestions.org/questi...43#post2285743
Please use the thread above if you tweak the script (or any discussion related to it)

#Output will be like
#Device Boot Start End Blocks Id System
#/dev/sda2 765 1528 6136830 83 Linux --------> somelabel
 
Old 06-10-2006, 10:56 PM   #139
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Dual boot :: Slackware 14.1 64bit multilib | Kali linux 64bit multi lib
Posts: 186

Rep: Reputation: 37
ldd `which <progname>`

eg.

ldd `which mplayer`

The output will be a list of the shared libraries on the system that the program needs to run, as well as the missing libraries.
 
Old 07-23-2006, 10:45 AM   #140
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Shell script debugging

Shell script debugging: a few methods are listed in

http://www.linuxquestions.org/questi...03#post2343403
 
Old 01-21-2007, 05:39 PM   #141
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
history shortcut

i use shortcut to commands saved in history -
510 uptime
511 history

!511 <-' (executing again)

Last edited by ygloo; 01-21-2007 at 05:56 PM.
 
Old 09-12-2007, 01:40 PM   #142
medusa
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
mkpasswd and Slackware 1x

Have you ever tried to generate a password with mkpasswd and got this error message:
Code:
mkpasswd: no DBM database on system - no action performed
Simply type:
Code:
/usr/bin/mkpasswd -d -l
or whatever option you like and copy the output to whereever you like

Cheers
medusa
 
Old 10-09-2007, 02:25 PM   #143
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
Post your cool scripts ! ;)

Here I open the thread :

Purpose: increase the sound with xosd
screenshot: http://www.turbolinux.co.jp/products...PlugIn/tpb.jpg
use: /usr/bin/myvolumeup 10

Code:
#/bin/sh
/usr/bin/amixer set PCM "$1+" ;
osd_cat -p bottom -d 1 -s 1 -o 120   -A center -f "-adobe-new century schoolbook-medium-i-normal--34-240-100-100-p-182-iso8859-1" -c green -b percentage -P $(amixer get PCM | grep Left: | awk -F" " '{print $5}' | tr -d "[]") -T "Volume"

Thanks for sharing / LINUX is SHARING !
 
Old 10-09-2007, 04:30 PM   #144
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,492
Blog Entries: 54

Rep: Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909Reputation: 2909
I'd like to take the time to plug a "Tips 'n tricks" thread which has been running for some years now. Next to the obvious tips and tricks it contains scripts as well: http://www.linuxquestions.org/questi...957/page8.html
 
Old 10-09-2007, 04:52 PM   #145
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I Have merged this thread into that thread so that all tippery and trickery can be kept in the same place.
 
Old 08-24-2009, 02:38 AM   #146
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Reading this great thread! I still see no "tips and tricks" sub-forum. But I suppose they can all can go in "Member Success Stories" right mods? or maybe you could merge my thread to this one? Either way I will post the link:

http://www.linuxquestions.org/questi....php?p=3653297
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wargame Hints? the_p0et Linux - Security 3 10-19-2003 11:04 PM
hints and tips bigjohn LQ Suggestions & Feedback 0 08-04-2003 01:48 PM
Slackware CUPS hints mi6 Slackware 3 06-05-2003 08:56 PM
Hints - process myquestion Programming 2 04-15-2002 07:26 PM
gcad hints ? jamaso Linux - General 0 03-02-2002 08:27 AM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration