LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 4.50 average.

Convert Metric <-> Imperial

Posted 01-03-2014 at 04:14 AM by druuna
Updated 01-31-2014 at 03:24 AM by druuna

Converting from metric to imperial and vice versa using bc.

Here are a few examples in the form of functions:

# -------------------------------------------------------------------------- #
# - Imperial to metric
# -------------------------------------------------------------------------- #

  • pounds to kilograms
PHP Code:
# Function : lbToKg
# Syntax   : lbToKg <pounds>
#
# Convert pounds to kilogram
function lbToKg() { 
...
LQ Veteran
Posted in General
Views 1405 Comments 0 druuna is offline
Old
Rating: 2 votes, 4.50 average.

Various Linux Guides I have collected

Posted 03-12-2014 at 01:23 PM by Habitual
Updated Today at 04:51 PM by Habitual

Figured I should post this on-going list of shell resources:

### Recent/Featured ###
Sudo: you're doing it wrong - PDF @ 171 pages.
Sudo: you're doing it wrong - YouTubeVid @ 1h:11m
Tools To Password Protect Folder In Linux
New rute - Thanks Robby Workman

### Beginner User Guides: ###
Safe Hex: The Rules for Safe Computing
rute.pdf
Linux for Beginners, Multiple Howtos, Manpages etc...
Ultimate Linux Newbie Guide...
LQ Addict
Posted in Uncategorized
Views 1386 Comments 5 Habitual is offline
Old
Rating: 2 votes, 4.50 average.

(Not) Microsoft calling...

Posted 02-24-2015 at 06:37 AM by brianL
Updated 02-24-2015 at 06:39 AM by brianL

It's been a while since I got one of these calls. Somebody with a strong Indian accent, using an English name (Andrew, this time), and claiming to work for Microsoft.
After introductions, this is the conversation:
Andrew: we have reports that your computer has been downloading malicious software.
Me: Oh? That sounds bad.
Andrew: Don't worry, we can fix it.
Me: I hope so.
Then asks if I'm at my computer & is it on. And which browser I use.
Andrew:...
LQ 5k Club
Posted in Uncategorized
Views 512 Comments 0 brianL is offline
Old
Rating: 2 votes, 4.50 average.

My Aliases used on a daily basis

Posted 06-30-2016 at 01:57 PM by lazydog

Here is a list of Aliases I use on a daily basis, some more then others. For machines I do not have a home directory I carry a small usb stick that I then source them from.

For systems I have a home directory on I source them from bashrc as follows:

Code:
# Common Aliases
if [ -e ~/.alias ]; then
         source ~/.alias
fi
Alias List:
Code:
#######################################################
...
Member
Posted in Uncategorized
Views 236 Comments 1 lazydog is offline
Old
Rating: 7 votes, 4.43 average.

Installing the Graphical Window System (X.org-X11) and the Default Desktop Environment on CentOS 6

Posted 09-06-2011 at 01:12 PM by gearge
Updated 11-26-2011 at 02:29 PM by gearge

Installing the Graphical Window System (X.org-X11) and the Default Desktop Environment on CentOS 6

Performing the default "Minimal" install of CentOS 6 does not install the graphical subsystem (the X.org server) and the desktop environment (e.g. GNOME or KDE). Such OS install is nice for building an optimal system from scratch, setting up a headless server (no monitor, keyboard and mouse) and other purposes; but for one reason or another, you may still require a graphical...
LQ Newbie
Posted in Uncategorized
Views 106244 Comments 0 gearge is offline

  



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

Main Menu
Advertisement
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration