Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • Linux Help (Page 20)

Linux Help

How do Unix / Linux “hard links” work?

August 23, 2004 / Dave Taylor / Linux Help / 3 Comments

A reader writes:

So, I’m partway through your book, and I want to check on hard links. When you say it creates another door to the same body of data, is that literally true? For example, if all I have in my ./Documents directory is 001.doc (size 512K), and I hard link as hardlink.doc then run ls, do I see A or B?

A) 001.doc 512K
hardlink.doc 512K
total 1024K

B) 001.doc 512K
hardlink.doc 512K
total 512K

If it’s not B, I’m not sure what the point is, other than maybe not changing the timestamp.

View Answer »

Quick check for an open mail relay

June 27, 2004 / Dave Taylor / Linux Help / No Comments

If you’re like me, you are getting an ever-increasing flow of spam into your mailbox. What you might not realize, however, if you’re a Unix or Linux system administrator, is that you might be part of the problem! In general terms, electronic mail servers (so called “mail transport agents” or MTAs) are only intended to accept mail either to be directly delivered to someone on the system or being sent from somene on the system.

View Answer »

Question about regular expressions

May 11, 2004 / Dave Taylor / Linux Help / 8 Comments

A reader of Learning Unix for Mac OS X Panther writes in to ask for an explanation of the regular expression shown in this command:

du -s * .[^.]*

View Answer »

Chopping off the last field of each line?

April 5, 2004 / Dave Taylor / Linux Help / 11 Comments

I’m working on the Web site for Creating Cool Web Sites and just realized that the little Unix trick I used while editing a file is actually a beautiful example of why so many people love Unix so much, so I thought I’d share it. The problem: a file where lines have 1-10 words + a last field value (in this case, a page number) that I don’t want. The challenge is to figure out how to easily remove that last field, when there are a variable number of fields on the line.

View Answer »

How do I tweak my PATH?

April 1, 2004 / Dave Taylor / Linux Help / No Comments

A reader writes:

“I’ve got a few of your books and today picked up Wicked Cool Shell Scripts, which I’m very much looking forward to working with.

“Totally greenhorn question, though: I want to keep the scripts in ~/bin and on page 12 you have an italic note saying to edit our PATH variable, but I’m not sure how, and don’t see any instructions anywhere else as to how to do this. I would be perfectly happy to have ~/scripts as you suggest but have not been able to create either. Your other book
Learning Unix for Mac OS X doesn’t appear to show how to do this with BASH. Many thanks in advance.”

View Answer »

How do I get my environment to come along when I “su”?

March 25, 2004 / Dave Taylor / Linux Help / 1 Comment

A reader writes:

Here is the problem – when I su to become root I don’t have any aliases or any stuff in my path. I also am not sure were the .bash_profile for root goes and if it is even read when su’ing – please help thanks.

View Answer »

Unix environment for Windows?

January 21, 2004 / Dave Taylor / Linux Help / 1 Comment

A reader writes:

“At the end of TYU24, you mention MKS as a Windows-based shell. I checked their website as an avenue of learning Unix/Linux without resorting to dual-boots, or multiple systems (I’m a little short on space to accomidate another tower, and short on cash to build a new micro). While they do offer evaluation versions, and educational discounts, they are still a little steep on the price range. Is there another package that may
follow GPL (GNU Public License) or maybe a more cost effective package for
home use?”

View Answer »

Errata Report in “Solaris for Dummies”

December 14, 2003 / Dave Taylor / Linux Help / No Comments

A reader of Solaris 9 for Dummies reports:

“Is there a typo in Chapter 15? I’m referring to page 288-289. The book says you should modify the S30network.sh file in step 3 then says you should modify the same place in the same file in step 6. (although this time ‘shcat’ is just ‘cat’) I was wondering if in step 6 I should be actually modifying a different file rather than remodify the change just made?”

View Answer »

«‹18192021›

Search

Recent Posts

  • How Can I Add My Pronouns to my Instagram Account Profile?
  • Possible to Pair Bluetooth Headphones with my Vizio TV?
  • Possible to Schedule a Windows 11 System Update & Restart?
  • How Can I Add Spacers and Divider Lines to my MacOS 12 Dock?
  • How Do I Pair Bluetooth Earbuds with my Google Chromebook?

On My YouTube Channel

Google Pixel 6a Budget Android Smartphone -- DEMO & REVIEW

QueStyle M15 Mobile Lossless DAC / Headphone Amp -- UNBOXING & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help, (161)
  • Android Help (201)
  • Apple iPad Help (145)
  • Apple Watch Help (52)
  • Articles, Tutorials, and Reviews (344)
  • Auto Tech Help (11)
  • Business Advice (199)
  • Chrome OS Help (25)
  • Computer & Internet Basics (764)
  • d) None of the Above (165)
  • Facebook Help (383)
  • Google, Chrome & Gmail Help (179)
  • HTML & Web Page Design (245)
  • Instagram Help (48)
  • iPhone & iOS Help (607)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (93)
  • LinkedIn Help (85)
  • Linux Help (166)
  • Linux Shell Script Programming (87)
  • Mac & MacOS Help (894)
  • Most Popular (16)
  • Outlook & Office 365 Help (26)
  • PayPal Help (69)
  • Pinterest Help (53)
  • Reddit Help (18)
  • SEO & Marketing (81)
  • Spam, Scams & Security (92)
  • Trade Show News & Updates (23)
  • Twitter Help (217)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (921)
  • Wordpress Help (204)
  • Writing and Publishing (72)
  • YouTube Help (46)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (57)

Archives

Social Networks…

Ask Dave Taylor

Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook

microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2022 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy