file:显示文件的类型
简介 file命令是显示文件的类型
说明
file命令是显示文件的类型
格式
file [option] [file]
常用参数说明
-b:使用精简的格式输出,不输出文件名
示例
[root@localhost test]# ll
总用量 8
-rw-r--r--. 1 root root 0 5月 3 16:57 a b
lrwxrwxrwx. 1 root root 9 5月 3 07:30 abc1.txt -> test5.txt
lrwxrwxrwx. 1 root root 17 5月 3 08:46 abc2.txt -> ../test/test2.txt
drwxr-xr-x. 4 root root 42 5月 3 16:52 dir01
drwxr-xr-x. 2 root root 6 5月 3 07:00 dir02
drwxr-xr-x. 2 root root 6 5月 3 07:00 dir03
drwxr-xr-x. 2 root root 6 5月 3 07:00 dir04
drwxr-xr-x. 2 root root 6 5月 3 07:00 dir05
-rw-r--r--. 1 nginx nginx 27 5月 3 15:31 test2.txt
-rw-r--r--. 1 555 root 0 5月 3 07:00 test3.txt
-rw-r--r--. 1 root root 2 5月 3 08:42 test5.txt
#未使用参数部分
[root@localhost test]# file test2.txt
test2.txt: ASCII text
[root@localhost test]# file dir01/
dir01/: directory
[root@localhost test]# file abc1.txt
abc1.txt: symbolic link to test5.txt
#使用参数部分
[root@localhost test]# file -b test2.txt
ASCII text
[root@localhost test]# file -b dir01
directory
[root@localhost test]# file -b abc1.txt
symbolic link to test5.txt
网页扫描二维码库:Html5-Qrcode,官网地址:https://scanapp.org/html5-qrcode-docs/
《康熙王朝》是一部非常优秀的电视连续剧,陈道明演的康熙是我觉得最有帝王气魄,让人意犹未尽,本文主要记录一小段非常经典的对白。
为了能让虚拟机能连接网络,并且能与宿主机能相互进行访问,所以需要多虚拟机几种网络模式进行学习,以便后期能快速的进行配置。
单一职责原则(Single Responsibility Principle,SRP)又称单一功能原则,由罗伯特·C.马丁(Robert C. Martin)于《敏捷软件开发:原则、模式和实践》一书中提出的。这里的职责是指类变化的原因,单一职责原则规定一个类应该有且仅有一个引起它变化的原因,否则类应该被拆分(There should never be more than one reason for a class to change)。
you-get是一个基于Python的开源命令行工具,主要用于下载来自多个视频网站的视频、音频和图片资源。它支持YouTube、Bilibili、Vimeo等平台,可通过简单命令快速获取下载链接并支持自定义保存路径和格式。
快速生成表格
Electron页面跳转、浏览器打开链接和打开新窗口
在使用Git的过程中,不想每次都输入用户名和密码去拉取代码,所以就需要保存这些信息,那么既然有保存了,就必须有清除功能。
在Mac电脑中,如何对Git的用户名和密码进行修改呢?起初不懂Mac,所以整了很久,本文将记录如何对这个进行操作,以便后期使用。
Docker编译镜像出现:fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.12/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.2c4ac24e.tar.gz: No such file or directory问题