<wbr>今天在做 Hadoop的时候需要将hadoop配置包复制到另一个linux环境下面 但是我使用scp命令 就给我弹了个这提示</wbr>
not a regular file
英文不太好 查了查 原来是一个不完整个的文件 ,不知道为什么会这样认为呢,
scp hadoop-2.5.1 root@192.168.1.217:/usr/之前使用的是这个命令
之后网上找了找 加了个 r命令
scp -r hadoop-2.5.1 root@192.168.1.217:/usr/这样就成功了
分享到:
相关推荐
在Linux系统中,`yum`(Yellowdog Updater, Modified)是CentOS、RHEL等基于RPM包管理系统的软件包管理器,它允许用户安装、更新和删除软件包。`yum.repos.d`目录是`yum`配置的重要部分,存放了定义软件仓库...
我是debain 系的linux系统没遇到这个问题,在centos系统遇到的 Collecting dlib Downloading ...
Removing a sentence in a file containing a word 174 Implementing head, tail, and tac with awk 175 Text slicing and parameter operations 177 Chapter 5: Tangled Web? Not At All! 179 Introduction 180 ...
◆ 文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln; ◆ 系统管理相关命令:df、top、free、quota、at、lp、adduser、groupadd、kill、crontab; ◆ 网络操作命令:ifconfig、ip、ping、...
SQUASHFS 1.3r3 - A squashed read-only filesystem for Linux Copyright 2004 Phillip Lougher (phillip@lougher.demon.co.uk) Released under the GPL licence (version 2 or later). Squashfs is currently ...
echo "File does not exist or is not a regular file." fi ``` 这里的`[ -f "somefile" ]`检查`somefile`是否为一个普通文件,而`[ -d "somefile" ]`则检查它是否为一个目录。 通过这些基本概念和命令,我们可以...
libstdc++ 6.0.25版本的库文件,可解决/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found版本过低问题。 下载下来后,进入/usr/lib/x86_64-linux-gnu/,删除旧的libstdc++.so.6软连接,...
echo "File exists and is a regular file" fi if [ -r "$file" ]; then echo "File is readable" fi if [ -w "$file" ]; then echo "File is writable" fi if [ -x "$file" ]; then echo "File is ...
在 Linux 系统中,`/dev/null` 和 `/dev/tty` 都是特殊的设备文件,它们具有不同的用途和特性。 - **`/dev/null`**:通常用于丢弃不需要的数据或重定向不需要的输出。 - **`/dev/tty`**:代表当前终端(或终端仿真...
SQUASHFS 2.2 - A squashed read-only filesystem for Linux Copyright 2005 Phillip Lougher (phillip@lougher.demon.co.uk) Released under the GPL licence (version 2 or later). Welcome to Squashfs ...
### Emacs for Linux: Key Knowledge Points #### Introduction to Emacs for Linux Emacs (Editor Macros) is an advanced text editor developed by the Free Software Foundation and widely used in Unix-like...
You can use these functions to insert a file into the current file, delete the active file, send the file through email, or insert a string into the file at every specified increment HTML preview ...
- **File Tests**: Check file attributes using tests like `-d` (directory), `-f` (regular file), `-r` (readable), `-w` (writable), and `-x` (executable). For example, `[ -d dir ]` checks if `dir` is a ...
6. **解决错误**:如果在配置阶段遇到“`configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/`”错误,可以尝试安装`pcre-devel`包来解决。 ```bash yum...
Linux guru Tim Bornocyzyk, thoroughly covers the topic whether you're a Linux novice or a regular who now wants to master this increasingly popular distribution. First find out how to install and ...
SCGCQ00318648 Defect VD creation on regular drives fails for older firmware where 4K sector is not supported SCGCQ00319423 Defect FreeBSD MegaCLI v8.05.02 does not detect controller when driver 5.504....
does not exist or is not a directory. [RT #35108] Added improvements to statistics channel XSL stylesheet: the stylesheet can now be cached by the browser; section headers are omitted from the ...
在Linux操作系统下安装Nginx是一项常见的任务,尤其对于服务器管理员和Web开发者而言。Nginx是一个高性能的HTTP和反向代理服务器,以其高效的性能、稳定性以及对高并发请求的处理能力而广受青睐。本教程将详细介绍在...