FreeBSD 中文 man 手册
FreeBSD 中文社区
  • man
  • man1
    • Mail.1
    • addr2line.1
    • alias.1
    • alloc.1
    • apply.1
    • apropos.1
    • ar.1
    • at.1
    • atq.1
    • atrm.1
    • awk.1
    • basename.1
    • batch.1
    • bc.1
    • bg.1
    • bind.1
    • bindkey.1
    • break.1
    • breaksw.1
    • bsdcat.1
    • bsdtar.1
    • btsockstat.1
    • builtin.1
    • builtins.1
    • c++.1
    • case.1
    • cat.1
    • cc.1
    • chdir.1
    • chfn.1
    • chgrp.1
    • chkey.1
    • chmod.1
    • cksum.1
    • clang++.1
    • clang-cpp.1
    • cmp.1
    • colrm.1
    • column.1
    • comm.1
    • command.1
    • complete.1
    • continue.1
    • cp.1
    • cpp.1
    • crypt.1
    • csh.1
    • ctfdump.1
    • cut.1
    • date.1
    • dd.1
    • default.1
    • df.1
    • dialog.1
    • diff.1
    • diff3.1
    • dirname.1
    • dirs.1
    • do.1
    • done.1
    • dtrace.1
    • du.1
    • echo.1
    • echotc.1
    • edit.1
    • ee.1
    • egrep.1
    • elfdump.1
    • elif.1
    • else.1
    • end.1
    • endif.1
    • endsw.1
    • enigma.1
    • env.1
    • esac.1
    • eval.1
    • exec.1
    • exit.1
    • export.1
    • fc.1
    • fg.1
    • fgrep.1
    • fi.1
    • filetest.1
    • find.1
    • for.1
    • foreach.1
    • fsync.1
    • ftp.1
    • fuser.1
    • gate-ftp.1
    • getopts.1
    • glob.1
    • goto.1
    • grep.1
    • groups.1
    • gunzip.1
    • gzcat.1
    • gzip.1
    • hash.1
    • hashstat.1
    • head.1
    • history.1
    • host.1
    • hostname.1
    • hup.1
    • ibv_asyncwatch.1
    • ibv_devices.1
    • ibv_devinfo.1
    • ibv_ud_pingpong.1
    • id.1
    • ident.1
    • if.1
    • intro.1
    • introduction.1
    • jobid.1
    • jobs.1
    • kdump.1
    • kenv.1
    • keylogin.1
    • keylogout.1
    • kill.1
    • killall.1
    • ktrace.1
    • last.1
    • lastcomm.1
    • ld.1
    • ld.lld.1
    • ldd.1
    • ldd32.1
    • less.1
    • lessecho.1
    • limit.1
    • limits.1
    • link.1
    • llvm-addr2line.1
    • llvm-ranlib.1
    • ln.1
    • locate.1
    • lockstat.1
    • log.1
    • logger.1
    • login.1
    • logname.1
    • logout.1
    • look.1
    • lorder.1
    • ls-F.1
    • ls.1
    • lsvfs.1
    • lzcat.1
    • lzma.1
    • lzmadec.1
    • lzmainfo.1
    • mailx.1
    • make.1
    • man.1
    • mandoc.1
    • manpath.1
    • md5.1
    • mdocml.1
    • mkdir.1
    • mkfilters.1
    • more.1
    • mv.1
    • nawk.1
    • nc.1
    • netstat.1
    • newaliases.1
    • nice.1
    • notify.1
    • onintr.1
    • pagesize.1
    • passwd.1
    • paste.1
    • pax.1
    • perror.1
    • pftp.1
    • popd.1
    • printenv.1
    • ps.1
    • pushd.1
    • pwd.1
    • qemu.1
    • ranlib.1
    • read.1
    • readelf.1
    • readlink.1
    • readonly.1
    • realpath.1
    • ree.1
    • rehash.1
    • repeat.1
    • rev.1
    • revoke.1
    • rgrep.1
    • rm.1
    • rmd16.1
    • rmdir.1
    • rping.1
    • ruptime.1
    • rwho.1
    • sched.1
    • scp.1
    • sdiff.1
    • sed.1
    • seq.1
    • set.1
    • setenv.1
    • settc.1
    • setty.1
    • setvar.1
    • sftp.1
    • sh.1
    • sha1.1
    • sha224.1
    • sha256.1
    • sha384.1
    • sha512.1
    • sha512t256.1
    • shift.1
    • skein1024.1
    • skein256.1
    • skein512.1
    • slogin.1
    • sockstat.1
    • sort.1
    • source.1
    • split.1
    • ssh-copy-id.1
    • ssh-keygen.1
    • ssh.1
    • stat.1
    • stop.1
    • su.1
    • suspend.1
    • svnlite.1
    • switch.1
    • systat.1
    • tail.1
    • tar.1
    • tcpdump.1
    • tcsh.1
    • telltc.1
    • telnet.1
    • then.1
    • time.1
    • timeout.1
    • times.1
    • top.1
    • touch.1
    • trap.1
    • truncate.1
    • truss.1
    • type.1
    • ulimit.1
    • umask.1
    • unalias.1
    • uname.1
    • uncomplete.1
    • unhash.1
    • uniq.1
    • unlimit.1
    • unlink.1
    • unlzma.1
    • unset.1
    • unsetenv.1
    • until.1
    • unxz.1
    • uptime.1
    • users.1
    • uuidgen.1
    • view.1
    • w.1
    • wait.1
    • wall.1
    • wc.1
    • whatis.1
    • where.1
    • whereis.1
    • which.1
    • while.1
    • who.1
    • whoami.1
    • xargs.1
    • xz.1
    • xzcat.1
    • xzdec.1
    • xzdiff.1
    • yes.1
    • yppasswd.1
    • zcat.1
    • zcmp.1
    • zdiff.1
    • zforce.1
    • zless.1
    • zmore.1
    • znew.1
  • man4
    • ow.4
    • ow_temp.4
    • owc.4
  • man5
    • device.hints.5
  • man7
    • hire
  • man8
    • adduser.8
    • authpf-noip.8
    • authpf.8
    • autounmountd.8
    • beastie.4th.8
    • bhyve.8
    • bhyvectl.8
    • bhyveload.8
    • blacklistctl.8
    • boot.8
    • boot0cfg.8
    • boot_i386.8
    • bsdconfig.8
    • camcontrol.8
    • check-password.4th.8
    • chown.8
    • chroot.8
    • config.8
    • crash.8
    • crashinfo.8
    • devctl.8
    • devinfo.8
    • devmatch.8
    • diskinfo.8
    • dmesg.8
    • fastboot.8
    • fasthalt.8
    • freebsd-update.8
    • fstyp.8
    • ftp-proxy.8
    • ftpd.8
    • gpart.8
    • gpioctl.8
    • gptboot.8
    • gptzfsboot.8
    • growfs.8
    • halt.8
    • i2c.8
    • ifconfig.8
    • inetd.8
    • init.8
    • intro.8
    • iostat.8
    • ipfw.8
    • jail.8
    • jexec.8
    • jls.8
    • kldconfig.8
    • kldload.8
    • kldstat.8
    • kldunload.8
    • kldxref.8
    • lastlogin.8
    • loader.4th.8
    • loader.8
    • loader.efi.8
    • mail.local.8
    • mailstats.8
    • menu.4th.8
    • mount.8
    • mount_cd9660.8
    • mount_msdosfs.8
    • moused.8
    • mtree.8
    • natd.8
    • nmtree.8
    • ntptime.8
    • password.lua.8
    • periodic.8
    • ping.8
    • pkg.8
    • pmccontrol.8
    • pmcstat.8
    • powerd.8
    • poweroff.8
    • pw.8
    • pwm.8
    • quot.8
    • rarpd.8
    • rc.8
    • rc.d.8
    • rc.firewall.8
    • rc.local.8
    • rc.network.8
    • rc.pccard.8
    • rc.resume.8
    • rc.serial.8
    • rc.shutdown.8
    • rc.subr.8
    • rcorder.8
    • reboot.8
    • renice.8
    • rescue.8
    • rmuser.8
    • route.8
    • route6d.8
    • routed.8
    • rpc.rusersd.8
    • service.8
    • shutdown.8
    • spi.8
    • ssh-keysign.8
    • sysctl.8
    • sysrc.8
    • tcpdrop.8
    • tftpd.8
    • tzsetup.8
    • umount.8
    • vmstat.8
    • watchdog.8
    • watchdogd.8
    • zfs.8
由 GitBook 提供支持

FreeBSD 中文社区

在本页
  • 名称
  • 概要
  • 描述
  • 参见
  • 历史
  • 作者

这有帮助吗?

在GitHub上编辑
导出为 PDF
  1. man1

settc.1

上一页setenv.1下一页setty.1

最后更新于1年前

这有帮助吗?

BUILTIN(1)

BUILTIN(1)

FreeBSD General Commands Manual

BUILTIN(1)

内置, !, %, ., :, @, [, {, }, alias, alloc, bg, bind, bindkey, break, breaksw, builtins, case, cd, chdir, command, complete, continue, default, dirs, do, done, echo, echotc, elif, else, end, endif, endsw, esac, eval, exec, exit, export, false, fc, fg, filetest, fi, for, foreach, getopts, glob, goto, hash, hashstat, history, hup, if, jobid, jobs, kill, limit, local, log, login, logout, ls-F, nice, nohup, notify, onintr, popd, printenv, printf, pushd, pwd, read, readonly, rehash, repeat, return, sched, set, setenv, settc, setty, setvar, shift, source, stop, suspend, switch, telltc, test, then, time, times, trap, true, type, ulimit, umask, unalias, uncomplete, unhash, unlimit, unset, unsetenv, until, wait, where, which, while —

shell 内置命令

请参阅相应 shell 手册页中的内置命令描述。

Shell 内置命令是可以在运行的 shell 进程中执行的命令。请注意,在 csh(1) 内置命令的情况下,如果该命令作为管道中除最后一个以外的任何组件出现,则该命令将在子 shell 中执行。

如果指定给 shell 的命令包含斜杠 ‘/’, 则 shell 将不会执行内置命令,即使指定命令的最后一个组件与内置命令的名称匹配。因此,虽然指定 “echo” 会导致在支持 echo 内置命令的 shell 下执行内置命令,但指定 “/bin/echo” 或 “./echo” 不会。

虽然某些内置命令可能存在于多个 shell 中,但在支持它们的每个 shell 下它们的操作可能不同。下表列出了 shell 内置命令、支持它们的标准 shell 以及它们是否作为独立实用程序存在。

此处仅列出 csh(1) 和 sh(1) shell 的内置命令。有关其内置命令的操作的详细信息,请参阅 shell 的手册页。请注意,至少 sh(1) 手册页将其中一些命令称为 “内置命令” ,其中一些称为 “保留字 。” 其他 shell 的用户可能需要查阅 info(1) 页面或其他文档来源。

在 External 下标记为 “No**” 的命令确实存在于外部,但使用同名的内置命令作为脚本实现。

Command

External

csh(1)

sh(1)

No

No

Yes

No

Yes

No

No

No

Yes

No

Yes

Yes

No

Yes

No

Yes

No

Yes

No

No

Yes

No

No

Yes

No**

Yes

Yes

No

Yes

No

No**

Yes

Yes

No

No

Yes

No

Yes

No

No

Yes

Yes

No

Yes

No

No

No

Yes

No

Yes

No

No

Yes

Yes

No**

Yes

Yes

No

Yes

Yes

No**

No

Yes

No

Yes

No

No

Yes

Yes

No

Yes

No

No

Yes

No

No

No

Yes

No

No

Yes

Yes

Yes

Yes

No

Yes

No

No

No

Yes

No

Yes

Yes

No

Yes

No

No

Yes

No

No

Yes

No

No

No

Yes

No

Yes

Yes

No

Yes

Yes

No

Yes

Yes

No

No

Yes

Yes

No

Yes

No**

No

Yes

No**

Yes

Yes

No

Yes

No

No

No

Yes

No

No

Yes

No

Yes

No

No**

No

Yes

No

Yes

No

No

Yes

No

No**

No

Yes

No

Yes

No

No

Yes

No

No

Yes

No

No

Yes

Yes

No

No

Yes

No**

Yes

Yes

Yes

Yes

Yes

No

Yes

No

No

No

Yes

No

Yes

No

Yes

Yes

No

No

Yes

No

No

Yes

No

Yes

Yes

No

Yes

Yes

No

No

Yes

No

No

Yes

No

No

Yes

No

Yes

Yes

No

Yes

No

Yes

No

Yes

No

Yes

No

Yes

No**

No

Yes

No

No

Yes

No

Yes

No

No

Yes

No

No

No

Yes

No

Yes

No

No

Yes

Yes

No

Yes

No

No

Yes

No

No

Yes

No

No

No

Yes

No

Yes

Yes

No

Yes

No

No

Yes

No

No

Yes

No

No

Yes

No

No

Yes

No

Yes

No

Yes

No

No

Yes

Yes

Yes

No

No

No

Yes

No

No

Yes

Yes

No

Yes

No**

No

Yes

No**

No

Yes

No**

Yes

Yes

No**

Yes

Yes

No

Yes

No

No

Yes

No

No

Yes

No

No

Yes

Yes

No

Yes

No

No

No

Yes

No**

Yes

Yes

No

Yes

No

Yes

Yes

No

No

Yes

Yes

csh(1), echo(1), false(1), info(1), kill(1), login(1), nice(1), nohup(1), printenv(1), printf(1), pwd(1), sh(1), test(1), time(1), true(1), which(1)

内置 手册页首次出现在 FreeBSD 3.4 中。

December 21, 2010

FreeBSD 13.1-RELEASE

本手册页由 Sheldon Hearn 编写 < >

sheldonh@FreeBSD.org
。
名称
概要
描述
!
%
.
:
@
[
{
}
alias
alloc
bg
bind
bindkey
break
breaksw
builtin
builtins
case
cd
chdir
command
complete
continue
default
dirs
do
done
echo
echotc
elif
else
end
endif
endsw
esac
eval
exec
exit
export
false
fc
fg
filetest
fi
for
foreach
getopts
glob
goto
hash
hashstat
history
hup
if
jobid
jobs
kill
limit
local
log
login
logout
ls-F
nice
nohup
notify
onintr
popd
printenv
printf
pushd
pwd
read
readonly
rehash
repeat
return
sched
set
setenv
settc
setty
setvar
shift
source
stop
suspend
switch
telltc
test
then
time
times
trap
true
type
ulimit
umask
unalias
uncomplete
unhash
unlimit
unset
unsetenv
until
wait
where
which
while
参见
历史
作者