df - show disk usage du - show directory space usage du -sh - human readable size in GB free - show memory and swap usage whereis app - show possible locations of app which app - show which app will be run by defaultSHORTCUTS:ctrl+c - halts current command ctrl+z - stops current ...
bash: cd: filename: Not a directory 这表示你尝试使用cd命令对一个文件进行操作,而不是一个目录(文件夹)。很明显,你不能像进入文件夹那样“进入”一个文件,因此会出现这样的错误。 Not a directory error with the cd command 参数过多 这是Linux 新手常犯的另一个错误: bash: cd: too many arguments ...
When using the basiclscommand, you can't see hidden files and files starting with ".". To display them, run: ls -a Note:To learn how to hide and see hidden files in Linux, refer to ourShow Hidden Files in Linuxarticle. Access Directory Trees To access long listing directory trees, t...
Up until now, you have operated within a single directory for the most part. Operating in Linux often means changing directories, done through thecdor change directorycommand. Using the example below moves from the current home directory,/home/user,to/var/logwhile verifying your current directory...
Show information about the file system on which each FILE resides, or all file systems by default. df-h 7z 7z is one of a data compression format on Windows and Linux. The command to install is : apt-get install p7zip-full The command to decompression is : ...
follow each command line symbolic link that points to a directory --hide=PATTERN do not list implied entries matching shell PATTERN (overridden by -a or -A) --hyperlink[=WHEN] hyperlink file names; WHEN can be 'always' (default if omitted), 'auto', or 'never' ...
[root@centos7 ~]# scp -v root@192.168.1.100:/root/nginxWebUI-1.3.5.jar /root/download/ Executing: program /usr/bin/ssh host 192.168.1.100, user root, command scp -v -f /root/nginxWebUI-1.3.5.jar OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data ...
Not a directory error with the cd command 参数过多 这是Linux 新手常犯的另一个错误: bash: cd: too many arguments cd命令只接受一个参数。也就是说,你只能对命令指定一个目录。 如果你指定了超过一个的参数,或者在路径中误加了空格,你就会看到这个错误。
1. ls: This command is used to list files and directories in the current directory. 2. cd: This command is used to change the current working directory. 3. mkdir: This command is used to create a new directory. 4. rm: This command is used to remove files and directories. ...
find . -maxdepth 1 -name *.jpg -print -exec convert "{}" -resize 80x60 "thumbs/{}" \; batch resize files in the current directory and send them to a thumbnails directory (requires convert from Imagemagick) 4 文件搜索 代码语言:javascript ...