LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

N00b method to toggle some verbosity on command for bash scripts

Posted 03-28-2016 at 11:32 PM by the dsc (linux-related notes)
Updated 03-28-2016 at 11:34 PM by the dsc
Tags bash, newbie

Just something I came up with that is probably not how actual programmers/scripters(?) would advise, specially the parameter/flag thing which is beside the point here.

Code:
if [[ $1 == "v" ]] ; then

ver(){
echo $@
}

else

ver(){
:    # ":" is a "do nothing" command
}

fi

a=10

echo normal output

ver verbose output $a
...
Member
Posted in Uncategorized
Views 147 Comments 0 the dsc is offline
Old
Rating: 5 votes, 5.00 average.

For the Self Proclaimed :newbie: (in all;)

Posted 10-15-2013 at 09:44 AM by jamison20000e
Updated 07-21-2016 at 02:47 PM by jamison20000e

Hi.

LQ gets voluminous amounts of (to ?any) "novice" inquires and many frequented
so here's more of some quick links from *we to you* best wishes and have fun.


Going to keep it short and simple, up to you how deep to go Untitled.png
What we learn with we perceive most useful but truthfully, the more we learn with
...
Attached Images
File Type: jpg us131727.jpg (206.9 KB, 66 views)
File Type: jpg us11727.jpg (157.7 KB, 58 views)
Senior Member
Posted in Uncategorized
Views 4491 Comments 4 jamison20000e is offline
Old

Hello, LinuxWorld

Posted 04-04-2011 at 06:00 AM by ayushhgoyal
Updated 04-04-2011 at 06:01 AM by ayushhgoyal

Hi all, this is my first entry to this blog. I have been member of LQ for a while, I referred to this whenever I had a doubt regarding , of course, Linux installed in my system. To all the newbies here, if you were windows guy and planned to switch onto Linux( no matter what distro) then I'd prefer having a dual boot in your system. It might degrade performance a little bit but it allows you to switch to your previous buggy OS ;-) ...jokes apart, at some point, as you've just started, you are likely...
LQ Newbie
Posted in Uncategorized
Views 6257 Comments 3 ayushhgoyal is offline
Old

I have a problem.

Posted 02-19-2010 at 02:07 AM by ofaring (Debian, This That and the Other)

Yeah. There's no question. I think that I like computers too much. But not the new stuff, and certainly not the iPhone. I like the old stuff. Which is probably why I've started to play with NetBSD.

Let me tell you, it's one damn interesting OS. I know; there are some predicting their doom any day now, and NetBSD certainly could use some more developers/resources, but that doesn't change the fascination level. Or the fact that it clearly outperforms (subjectively) Debian on more than...
Member
Posted in NetBSD
Views 1832 Comments 1 ofaring is offline
Old

CentOS 5.4 netinstall

Posted 12-19-2009 at 10:51 AM by anand.arumug
Updated 02-10-2010 at 12:25 PM by anand.arumug (Updated an URL)

I just recently tried installing CentOS on a old Toshiba laptop (Model: M45-S269) which has a DVD-RW drive but functions only as a CD drive. So the easiest option for me to install CentOS was through the Internet.

Here is what I did:

1) Depending on your PCs processor architecture download the CentOS netinstall.iso file from
CentOS 5.4 ISOs

2) I followed the steps described in the following URL CentOS NetInstall 5.3 written by Chris Gountanis...
Member
Posted in CentOS
Views 6099 Comments 0 anand.arumug is offline

  



All times are GMT -5. The time now is 05:23 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