这时使用umount 命令,会提示设备忙,无法挂载。
处理方法: Linux umount 报 device is busy 的处理方法
[root@qs-wg-db1 ~]# fuser -km /datatmp
[root@qs-wg-db1 ~]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 125G 3.3G 115G 3% /
tell application "Finder" | |
set myWin to window 1 | |
set theWin to (quoted form of POSIX path of (target of myWin as alias)) | |
tell application "Terminal" | |
activate | |
tell window 1 | |
do script "cd " & theWin | |
-- do script "cd " & theWin & ";ls -al | more" | |
end tell | |
end tell |
#! /bin/bash | |
#cd current path | |
cd `dirname $0` | |
#get post name | |
postName=$1 | |
#split post name with '-' | |
array=(${postName//,/}) |
#! /bin/bash | |
cd `dirname $0` | |
files=$(find . -name *markdown) | |
echo $files | |
for file in { $files } | |
do | |
echo $file | |
fileWithoutUnderbar=${file%markdown} |
#define Left NSLayoutAttributeLeft | |
#define Right NSLayoutAttributeRight | |
#define Top NSLayoutAttributeTop | |
#define Bottom NSLayoutAttributeBottom | |
#define Leading NSLayoutAttributeLeading | |
#define Trailing NSLayoutAttributeTrailing | |
#define Width NSLayoutAttributeWidth | |
#define Height NSLayoutAttributeHeight | |
#define CenterX NSLayoutAttributeCenterX | |
#define CenterY NSLayoutAttributeCenterY |
#! /bin/bash | |
#=============================================================================================== | |
# System Required: Debian or Ubuntu (32bit/64bit) | |
# Description: Install Shadowsocks(libev) for Debian or Ubuntu | |
# Author: tennfy <admin@tennfy.com> | |
# Intro: http://www.tennfy.com | |
#=============================================================================================== | |
clear | |
echo "#############################################################" |
#!/bin/sh | |
# OPTIONAL FLAGS: | |
# | |
# -geoip true | |
# this will install maxmind geoip and auto update crontab file | |
# | |
# -cloudwatch true | |
# this will install aws cloud watch metrics and send them to aws dashboard | |
# |
这时使用umount 命令,会提示设备忙,无法挂载。
处理方法: Linux umount 报 device is busy 的处理方法
[root@qs-wg-db1 ~]# fuser -km /datatmp
[root@qs-wg-db1 ~]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 125G 3.3G 115G 3% /
<?xml version="1.0"?> | |
<root> | |
<replacementdef> | |
<replacementname>EMACS_MODE_IGNORE_APPS</replacementname> | |
<replacementvalue> | |
EMACS, | |
TERMINAL, | |
VI, | |
XCODE, | |
</replacementvalue> |
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
# get GIT revision number | |
buildNumber=`git rev-list --count HEAD` | |
# write build number | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${buildNumber}" "${INFOPLIST_FILE}" | |
# if [ "$CONFIGURATION" == "Release" ]; then | |
# # version number like this V0.20160109.004 |