小编tru*_*phs的帖子

我正在设置一个内部 AD Windows Server 2012 域。公司名称为 xyz 已经有外部域

我正在设置一个内部 AD 域。公司名称为 xyz 已经有一个外部域,该域不属于该公司所有或未为该公司注册。域名应该如何命名?最佳做法是什么?

dhcp active-directory router windows-server-2012

2
推荐指数
1
解决办法
67
查看次数

尝试执行此 shell 脚本但收到此错误

试图执行这个 shell 脚本。

#!/bin/bash
# Proper header for a Bash script.

# Cleanup, version 2

# Run as root, of course.
# Insert code here to print error message and exit if not root.

LOG_DIR=/var/log
# Variables are better than hard-coded values.
cd $LOG_DIR

cat /dev/null > messages
cat /dev/null > wtmp


echo "Logs cleaned up."

exit #  The right and proper method of "exiting" from a script.
     #  A bare "exit" (no parameter) returns the exit status
     #+ of …
Run Code Online (Sandbox Code Playgroud)

shell shell-scripting

-1
推荐指数
1
解决办法
43
查看次数