TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Shell Programming for Beginners

56 pointsby ahmicroabout 14 years ago

3 comments

billswiftabout 14 years ago
When you link to a video, show it in the title. I am on a slow connection and am getting tired of waiting for a page to load, only to find out it is just a video and totally useless to me.
评论 #2600291 未加载
评论 #2600337 未加载
sixtofourabout 14 years ago
This is great background for newbies.<p>My kid is learning programming on a VM where he's admin. I went through the first example and discovered that I don't have banner on my machine. I apt-got it and realized this will be a nice learning opportunity for the kid, a tiny real-world hiccup and here's how you solve it and get on with the task.
评论 #2599996 未加载
kaichanvongabout 14 years ago
First test errored: line 4: test: too many arguments<p>This was on OSX + bash... wondering if I need to update something to allow more args through?<p>#!/bin/sh X=9 tput clear while test $X -gt 0 do tput cup 5 0 tput ed banner " $X" X='expr $X - 1' sleep 1 done