Difference between revisions of "File"
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
file [[/usr/share/keyrings/]]hashicorp-archive-keyring.gpg | file [[/usr/share/keyrings/]]hashicorp-archive-keyring.gpg | ||
[[/usr/share/keyrings/]]hashicorp-archive-keyring.gpg: [[PGP]]/[[GPG]] key public ring (v4) created Thu Jun 7 18:09:42 2020 RSA (Encrypt or Sign) 4096 bits MPI=0xcb4b530fed7acc95... | [[/usr/share/keyrings/]]hashicorp-archive-keyring.gpg: [[PGP]]/[[GPG]] key public ring (v4) created Thu Jun 7 18:09:42 2020 RSA (Encrypt or Sign) 4096 bits MPI=0xcb4b530fed7acc95... | ||
+ | |||
+ | file your_public_key.asc | ||
+ | [[PGP public key]] block Public-Key (old) | ||
== Related terms == | == Related terms == |
Revision as of 08:00, 9 November 2022
Linux Kernel modes for file I/O: buffered and direct. (See also: kswapd and Jens Axboe)
- Basic operating commands:
cp
,mv
,rm
,touch
truncate
,fallocate
,ln
join
- Information:
stat
,wc
- Manipulate file content:
tr
,awk
,sed
- Editors: vim, emacs
cat
,col
,tail
,more
,less
grep, ack, ag
diff
Examples
file gdrive gdrive: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, not stripped
file minikube_binary minikube_binary: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
file file.img file.img: DOS/MBR boot sector; partition 1 : ID=0xc, active, start-CHS (0x0,0,2), end-CHS (0x41,4,4), startsector 1, 1044480 sectors; partition 2 : ID=0x83, start-CHS (0x41,4,5), end-CHS (0x3e7,35,61), startsector 1044481, 31457280 sectors
file your_pem_file.pem your_pem_file.pem PEM RSA private key
file private_key_file private_key_file: OpenSSH private key
file searchindex.MYI searchindex.MYI: MySQL MyISAM index file Version 1, 3 key parts, 0 unique key parts, 3 keys, 5734 records, 0 deleted records
file venv/bin/activate venv/bin/activate: ASCII text
file /etc/apt/trusted.gpg /etc/apt/trusted.gpg: GPG key public ring, created .../...
file /usr/share/keyrings/hashicorp-archive-keyring.gpg /usr/share/keyrings/hashicorp-archive-keyring.gpg: PGP/GPG key public ring (v4) created Thu Jun 7 18:09:42 2020 RSA (Encrypt or Sign) 4096 bits MPI=0xcb4b530fed7acc95...
file your_public_key.asc PGP public key block Public-Key (old)
Related terms
- File operations:
cp
,mv
,rm
,ln
- directory
ulimit
:ulimit -n 8192
- line
file (command)
dd
- Hidden files
- Ansible:
file, lineinfile, blockinfile
- file (Terraform)
inode
find . -type f
- file (Puppet)
- ASCII
See also
file
,/usr/share/keyrings/, file --help
cat
,tac
,more
,less
,tail
,mtail
,echo
,stdin
,tr
,column
,paste
,truncate
,logrotate
,xzcat
pv
,progress
,sort
,ncat
,virt-cat
,awk
,join
,col
,fold
,tee
,sponge
,nfs-cat
,journalctl, ccat, icat, EOF
, lolcat- file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,fallocate
,split
,stat
, inode, File descriptor, superblock, block size (blockdev
),fuser
,lsof
,scrub
,chattr
, ulimit (nofiles),cp
,mv
,file (command)
,mkfifo
,chmod
- File systems:
ext4
,XFS
,ZFS
,btrfs
,wipefs
,findfs
,HDFS
,overlay
,aufs
,virt-filesystems
, Windows: (FAT, NTFS, ReFS), GPFS, squashfs, Ecryptfs, Encfs, FUSE, VMFS, Comparison of distributed file systems, Userspace filesystem, Resize filesystem size
Advertising: