サクサク読めて、
アプリ限定の機能も多数!
アプリで開く
●はてなブックマークって?
●アプリ・拡張の紹介
●ユーザー登録
●ログイン
●ログアウト
kiririmode
id:kiririmode
●
8,532
ブックマーク
●
-
お気に入り
●
-
お気に入られ
タグ
●すべて
●
*-users.jp
(6)
●
*architecture
(8)
●
*book
(298)
●
*business
(15)
●
*computer
(46)
●
*emacs
(191)
●
*enlightment
(10)
●
*environment
(157)
●
*event
(6)
●
*free
(12)
●
*google
(70)
●
*interview
(31)
●
*job
(24)
●
*knowledge
(9)
●
*life
(30)
●
*lifehack
(142)
●
*linux
(64)
●
*mac
(63)
●
*network
(105)
●
*news
(8)
●
*performance
(7)
●
*programming
(635)
●
*psychology
(6)
●
*reference
(33)
●
*security
(109)
●
*software
(282)
●
*specification
(9)
●
*tips
(203)
●
*unix
(30)
●
*webdesign
(14)
●
*webservice
(129)
●
*windows
(93)
●
*word
(12)
●
*あとで試す
(29)
●
*いい話
(7)
●
*ネタ
(25)
●
*仕事
(54)
●
*名言
(10)
●
*後で試す
(22)
●
*後で読む
(55)
●
*後で買う
(179)
●
*時事
(48)
●
*社会
(52)
●
12factorapp
(8)
●
2ch
(22)
●
2ちゃんねる
(7)
●
SICP
(9)
●
ad(7)
●
adr
(6)
●
affair
(8)
●
agile
(51)
●
ai(115)
●
air
(14)
●
ajax
(13)
●
algorithm
(25)
●
amazon
(15)
●
amplify
(6)
●
android
(9)
●
ansible
(9)
●
anyevent
(19)
●
anything
(6)
●
apache
(44)
●
api
(52)
●
apigateway
(11)
●
apollo
(14)
●
apple
(36)
●
appservice
(13)
●
appsync
(13)
●
arc
(7)
●
architecture
(27)
●
aurora
(10)
●
authentication
(16)
●
awesome
(11)
●
aws
(366)
●
azure
(107)
●
backup
(10)
●
bash
(15)
●
batch
(12)
●
bestpractice
(12)
●
bitcoin
(52)
●
blockchain
(12)
●
blog
(21)
●
book
(22)
●
boost
(6)
●
browser
(13)
●
business
(22)
●
c(21)
●
c++
(58)
●
cache
(19)
●
calendar
(11)
●
cassandra
(19)
●
catalyst
(7)
●
cd(17)
●
chef
(8)
●
chrome
(24)
●
ci(25)
●
classloader
(7)
●
cli
(6)
●
cloud
(20)
●
cloudfront
(18)
●
cloudwatch
(15)
●
cocoa
(7)
●
codepipeline
(15)
●
codereview
(7)
●
cognito
(14)
●
comet
(8)
●
command
(22)
●
communication
(16)
●
company
(26)
●
concurrent
(12)
●
config
(12)
●
connect
(25)
●
consul
(19)
●
container
(6)
●
cookie
(23)
●
cooking
(6)
●
copilot
(15)
●
copyright
(14)
●
coro
(8)
●
cpan
(80)
●
cpanm
(7)
●
cpu
(7)
●
cron
(8)
●
csrf
(6)
●
css
(32)
●
cygwin
(10)
●
daemontools
(7)
●
dankogai
(21)
●
datadog
(18)
●
datamodel
(15)
●
datetime
(11)
●
db(222)
●
dbi
(6)
●
dbic
(6)
●
debug
(25)
●
dena
(8)
●
design
(45)
●
designpattern
(7)
●
development
(18)
●
devops
(127)
●
di(11)
●
dkim
(13)
●
dns
(30)
●
docker
(82)
●
dropbox
(14)
●
dx(8)
●
dynamodb
(7)
●
e2e
(15)
●
earthquake
(15)
●
ebook
(9)
●
ec2
(6)
●
eclipse
(16)
●
economics
(7)
●
economy
(7)
●
ecr
(9)
●
ecs
(49)
●
electron
(13)
●
elisp
(12)
●
emacs
(20)
●
emobile
(6)
●
encode
(8)
●
english
(13)
●
epub
(7)
●
error
(6)
●
esxi
(7)
●
evernote
(7)
●
excel
(14)
●
extension
(77)
●
facebook
(10)
●
fam
(8)
●
fargate
(15)
●
featureflag
(7)
●
ffmpeg
(6)
●
filesystem
(16)
●
firefox
(135)
●
firelens
(7)
●
flash
(6)
●
fluentd
(25)
●
font
(17)
●
foursquare
(7)
●
framework
(7)
●
free
(28)
●
frontend
(6)
●
functions
(15)
●
game
(6)
●
gauche
(14)
●
gc(25)
●
gcc
(8)
●
gdb
(6)
●
gdpr
(6)
●
generics
(9)
●
git
(68)
●
git-flow
(7)
●
github
(69)
●
githubactions
(28)
●
githubcopilot
(9)
●
gitlab
(26)
●
gmail
(27)
●
go(21)
●
golang
(100)
●
google
(66)
●
google gears
(12)
●
gpt
(35)
●
graph
(8)
●
graphql
(35)
●
greasemonkey
(32)
●
growl
(9)
●
grpc
(39)
●
gtd
(11)
●
happi
(7)
●
haproxy
(13)
●
hasura
(6)
●
hatena
(50)
●
heap
(6)
●
hls
(8)
●
html
(23)
●
html5
(24)
●
http
(29)
●
httpclient
(12)
●
https
(7)
●
hyperv
(8)
●
iac
(6)
●
iam
(31)
●
ie(6)
●
iij
(26)
●
innodb
(6)
●
insidesales
(9)
●
interview
(6)
●
ios
(63)
●
ipad
(43)
●
iphone
(160)
●
ipod
(7)
●
iptables
(11)
●
iscsi
(10)
●
it(16)
●
itunes
(19)
●
java
(276)
●
javascript
(136)
●
jboss
(10)
●
jdbc
(12)
●
jenkins
(11)
●
jmeter
(11)
●
job
(22)
●
jobqueue
(11)
●
jq(6)
●
jquery
(20)
●
jsf
(11)
●
json
(11)
●
jvm
(26)
●
jwt
(11)
●
k8s
(48)
●
keepalive
(8)
●
kernel
(11)
●
kms
(9)
●
kvs
(24)
●
lambda
(65)
●
later
(6)
●
law
(44)
●
lb(11)
●
ldap
(8)
●
ldr
(16)
●
leadership
(9)
●
library
(6)
●
license
(35)
●
life
(11)
●
lifehack
(11)
●
lifehacks
(12)
●
lint
(18)
●
linux
(60)
●
lion
(7)
●
lisp
(10)
●
livedoor
(7)
●
llm
(18)
●
lock
(8)
●
log
(24)
●
lvs
(7)
●
mac
(151)
●
mail
(49)
●
make
(8)
●
management
(109)
●
markdown
(10)
●
marketing
(6)
●
math
(12)
●
maven
(12)
●
memcached
(12)
●
memory
(16)
●
microservices
(20)
●
microsoft
(12)
●
mixi
(25)
●
mobile
(25)
●
mock
(16)
●
mod_jk
(6)
●
mod_rewrite
(6)
●
module
(13)
●
monitor
(7)
●
monitoring
(21)
●
moose
(6)
●
mq(13)
●
multitenancy
(7)
●
mvp
(13)
●
mysql
(69)
●
nat
(6)
●
network
(22)
●
news
(8)
●
nft
(6)
●
nginx
(9)
●
niconico
(15)
●
node
(15)
●
node.js
(29)
●
npm
(8)
●
ntp
(8)
●
nuclear
(8)
●
oauth
(36)
●
oauth2
(6)
●
objective-c
(7)
●
okr
(10)
●
oome
(7)
●
openapi
(6)
●
openid
(16)
●
openidconnect
(10)
●
operation
(6)
●
or(8)
●
oracle
(78)
●
organizations
(8)
●
orm
(10)
●
oss
(32)
●
owasp
(6)
●
pagination
(11)
●
passkey
(6)
●
pdf
(22)
●
pdm
(22)
●
performance
(41)
●
perl
(504)
●
perlbrew
(6)
●
physics
(9)
●
pinpoint
(8)
●
pipes
(10)
●
plack
(16)
●
plagger
(16)
●
plantuml
(7)
●
plenv
(6)
●
podcast
(6)
●
poe
(7)
●
politics
(10)
●
postgresql
(53)
●
powerpoint
(11)
●
powershell
(8)
●
presentation
(16)
●
prisma
(7)
●
process
(7)
●
productivity
(12)
●
profile
(7)
●
programming
(73)
●
prompt
(7)
●
protocolbuffer
(11)
●
prototyping
(10)
●
proxy
(14)
●
psgi
(6)
●
psychology
(14)
●
pubsubhubbub
(9)
●
pushnotification
(8)
●
python
(39)
●
quality
(10)
●
quicksight
(10)
●
rag
(28)
●
rails
(11)
●
rds
(19)
●
react
(44)
●
redis
(13)
●
redmine
(6)
●
redux
(9)
●
reference
(7)
●
reflection
(6)
●
regex
(7)
●
remember the milk
(11)
●
research
(15)
●
responsive
(9)
●
rest
(16)
●
rfc
(17)
●
rls
(10)
●
route53
(6)
●
rpc
(8)
●
rss
(6)
●
rtm
(15)
●
ruby
(46)
●
s3
(15)
●
saas
(11)
●
scansnap
(6)
●
scheme
(14)
●
screen
(19)
●
scrum
(41)
●
search
(9)
●
security
(94)
●
selenium
(6)
●
self-organization
(9)
●
sendgrid
(12)
●
serverless
(17)
●
serverlessframework
(9)
●
servicemesh
(6)
●
ses
(12)
●
shell
(21)
●
shellscript
(16)
●
si(19)
●
sier
(23)
●
skk
(8)
●
slack
(12)
●
snow
(11)
●
snowleopard
(9)
●
society
(24)
●
socks
(6)
●
software
(27)
●
spa
(7)
●
spf
(9)
●
spinnaker
(8)
●
spring
(12)
●
sql
(17)
●
ssh
(16)
●
ssl
(16)
●
ssm
(16)
●
startup
(142)
●
statistics
(27)
●
stepfunctions
(7)
●
stl
(9)
●
storage
(18)
●
struts
(7)
●
study
(6)
●
subversion
(14)
●
swagger
(6)
●
systemd
(10)
●
tcp
(22)
●
teams
(6)
●
template
(10)
●
terminal
(6)
●
terraform
(83)
●
test
(78)
●
textlint
(7)
●
thread
(13)
●
thunderbird
(6)
●
thunderbolt
(7)
●
tips
(40)
●
tmux
(6)
●
todo
(25)
●
tomcat
(17)
●
toodledo
(9)
●
tool
(42)
●
touch
(11)
●
transaction
(6)
●
tuning
(7)
●
tv(7)
●
twilio
(7)
●
twitter
(47)
●
typescript
(32)
●
ubuntu
(7)
●
ui(27)
●
unicode
(15)
●
unity
(13)
●
unix
(16)
●
untagged
(187)
●
usb
(8)
●
ux(20)
●
vagrant
(8)
●
validation
(9)
●
vault
(8)
●
vc(8)
●
vimperator
(15)
●
virtualization
(24)
●
vmware
(13)
●
vpn
(8)
●
vscode
(23)
●
vsphere
(24)
●
wallpaper
(9)
●
web
(26)
●
web2.0
(8)
●
webapp
(9)
●
webdesign
(7)
●
webservice
(20)
●
websocket
(29)
●
websphere mq
(13)
●
wikipedia
(21)
●
windows
(40)
●
windows7
(7)
●
wireless
(7)
●
word
(7)
●
workspaces
(7)
●
wsl
(8)
●
xs(15)
●
yahoo
(9)
●
yapcasia
(15)
●
yapcasia2009
(15)
●
yapcasia2010
(17)
●
yapcasia2011
(11)
●
youtube
(17)
●
zsh
(12)
●
あとで読む
(30)
●
オープンソース
(7)
●
コマンド
(7)
●
ツール
(8)
●
ドキュメント
(8)
●
フリーソフト
(27)
●
仕事
(21)
●
仕事術
(37)
●
伊藤直也
(7)
●
名言
(8)
●
小飼弾
(22)
●
就職
(21)
●
後でやる
(18)
●
後で読む
(34)
●
後で買う
(38)
●
本
(44)
●
生き方
(23)
●
社会
(8)
●
自己啓発
(27)
●
*programming
(635)
●
perl
(504)
●
aws
(366)
●
*book
(298)
●
*software
(282)
●
java
(276)
●
db(222)
●
*tips
(203)
●
*emacs
(191)
●
untagged
(187)
関連タグで絞り込む (3)
●
*tips
●
script
●
shell
タグの絞り込みを解除
bashとshellscriptに関するkiririmodeのブックマーク (7)
●
13 users
●
github.com/progrium
●テクノロジー
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
kiririmode
2023/01/04
●shellscript
●bash
●
4 users
●
mywiki.wooledge.org
●テクノロジー
I set variables in a loop that's in a pipeline. Why do they disappear after the loop terminates? Or, why can't I pipe data to read? In most shells, each command of a pipeline is executed in a separate SubShell. Non-working example: # Works only in ksh88/ksh93, or zsh or bash 4.2 with lastpipe enabled # In other shells, this will print 0 linecount=0 printf '%s\n' foo bar | while IFS= read -r lined
kiririmode
2023/01/02
●bash
●shellscript
●
1 user
●
mywiki.wooledge.org
●テクノロジー
kiririmode
2016/07/23
●shellscript
●bash
●
8 users
●
mywiki.wooledge.org
●テクノロジー
Note: The FAQ was split into individual pages for easierediting. Also, for faster loading of this page, the answers are no longer presented here in their entirety. Readers, click the [BashFAQ/nnn] link at the bottom of each answer to read the rest of the answer. Editors, click the '[edit]' link at the bottom of each entry. Don't add new ones to this page; create a new subpage with the next availa
kiririmode
2016/04/20
●bash
●shellscript
●
931 users
●
qiita.com/m-yamashita
●テクノロジー
ここ最近、沢山シェルスクリプトを書くようになりました。 元々あまりシェルスクリプトを書いたこと無かったので、色々と勉強しつつ書いてるのですが、 他のプログラミング言語とはちょっと違って独特なクセというか、発見の度におぉー!ってなることが沢山あって楽しいです。 そんなわけで、最近学んだり参考にした中で特に感動したシェルの上手い書き方をまとめてみます。 きっとまだ知らないこととかもっと上手くやる方法なんかが沢山見つかりそうなので、 もっといいやり方あるよ!って方はコメントください 何もしない : (コロン)コマンド シェルを書いていた時に非常に欲しかったコマンドがこれ!何もしない! : というコマンド(?)を利用すると、何もせずに終了ステータス0(つまり正常終了)を返します。 これが様々な事に使える万能コマンドで、これによって面倒なエラー処理を簡潔にできたり、 入力や出力のリダイレクト元/先と
kiririmode
2015/02/10
●bash
●shellscript
●*tips
●
100 users
●
www.na3.jp
●テクノロジー
﹁シェルスクリプトの実行過程でエラーが発生した場合に処理を止めたい﹂・・・それをすごくシンプル(簡単)に実現したい場合に使えます。 例えば、以下のようなシェルスクリプトを書いた場合、、、 #!/bin/sh mkdir /tmp/hoge/fuga touch /tmp/hoge/fuga/test.txt 実行結果は以下のようになります。 $ ./test.sh mkdir: ディレクトリ `/tmp/hoge/fuga' を作成できません: そのようなファイルやディレクトリはありません touch: `/tmp/hoge/fuga/test.txt'にtouchできませんでした: そのようなファイルやディレクトリはありません/tmp/hogeディレクトリが存在しないので、/tmp/hoge/fugaのmkdirでこけます。まぁ普通ですよね。。。 が、何も考えずに書くと、↑のように、その
kiririmode
2011/01/04
●*tips
●shellscript
●shell
●bash
●
252 users
●
www.nurs.or.jp/~sug
●暮らし
bash の解説なんて、ネット上には結構あったりするのだが、これをわざわざ公開しようというのは、次の理由による。 某ソフトハウスでのUNIX講座用に書いてしまったから。 ネット上にある bash 解説だと、表面的な構文解説程度であり、きっちりスクリプト言語として使い倒すレベルの解説はあまりない。まあ、プログラミング言語として凝ったサンプルもやってみようじゃないの、というノリで割とディープに解説する。 アクセスを増やすための人気取り︵苦笑︶。 まあ、そんな不純な目的による bash 解説である。とはいえ、日常的に使い慣れている bash であっても、﹁え、こんな使い方があったの!?﹂という発見もあることであろう。苦笑しながらでも読んでくれたまえ。だから、初歩的なリダイレクションなんかは解説しないからそのつもりで。 ちなみに参考書としたのはオライリー・ジャパン刊﹁入門 bash 第2版﹂である
kiririmode
2010/11/21
●script
●shellscript
●bash
1
お知らせ
ランキング
今週のはてなブックマーク数ランキング︵2024年7月第1週︶
ランキング
月間はてなブックマーク数ランキング︵2024年6月︶
ランキング
今週のはてなブックマーク数ランキング︵2024年6月第5週︶
もっと読む
公式Twitter
●@HatenaBookmark
リリース、障害情報などのサービスのお知らせ
●@hatebu
最新の人気エントリーの配信
処理を実行中です
キーボードショートカット一覧
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く
●総合
●一般
●世の中
●政治と経済
●暮らし
●学び
●テクノロジー
●エンタメ
●アニメとゲーム
●おもしろ
●アプリ・拡張機能
●開発ブログ
●ヘルプ
●お問い合わせ
●ガイドライン
●利用規約
●プライバシーポリシー
●利用者情報の外部送信について
●ガイドライン
●利用規約
●プライバシーポリシー
●利用者情報の外部送信について
●公式アカウント
●ホットエントリー
●はてなブログ
●はてなブログPro
●人力検索はてな
●はてなブログ タグ
●はてなニュース
●ソレドコ
Copyright © 2005-2024 Hatena. All Rights Reserved.
設定を変更しましたx