Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login
3 results tagged filesystem

Basic File Commands / File Search Commands/shaare/FjAsgA

  • RHCSA
  • linux
  • filesystem
  • search
  • regex
  • wildcards
  • RHCSA
  • linux
  • filesystem
  • search
  • regex
  • wildcards

  • touch one two three → Create 3 files

  • mkdir folder → Make directory

  • mv -R / cp -R → Move or copy folder including subfolders

  • find . -name "george" → Search from current directory

  • locate → Faster, but relies on a database

  • updatedb → Update the locate database


Wildcards

Symbol Meaning
* Zero or more characters
? Single character
[] Range of characters
\ Escape character
^ Beginning of the line
\$ End of the line
2 weeks ago Permalink
cluster icon
  • Linux filesystem : /boot -> Grub.cfg /root -> home of root /dev -> system device (mouse, keyboard) /etc -> configuration files /bin -> /usr/bin -> everyday user commands...
  • Navigating File System / Linux filetypes : ls -l → List pwd → Print working directory dr-xr-xr-x | directories -rw-r--r-- | file Linux File Types Symbol Type - Regular file d Dire...
  • Linux File Ownership, ACLs, and I/O Redirects : File Ownership chown → Change ownership chgrp → Change group Access Control List (ACL) setfacl → Set file ACL getfacl → Get file ACL Add Permissi...
  • Systemctl, process management : Basic System Info Commands uptime → time, uptime, users, load average hostname → current hostname ip hostname → show IP & hostname uname -a → current...
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...

Navigating File System / Linux filetypes/shaare/MUuvKg

  • RHCSA
  • linux
  • filesystem
  • file
  • RHCSA
  • linux
  • filesystem
  • file

  • ls -l → List
  • pwd → Print working directory

dr-xr-xr-x
|
directories


-rw-r--r--
|
file


Linux File Types

Symbol Type
- Regular file
d Directory
l Link
c Special file or device file
s Socket → Network communication / process data between external processes
p Named pipe → FIFO → First In First Out, data between internal processes
b Block device

Inode = Pointer or number of a file on a hard disk.

2 weeks ago Permalink
cluster icon
  • Linux File Ownership, ACLs, and I/O Redirects : File Ownership chown → Change ownership chgrp → Change group Access Control List (ACL) setfacl → Set file ACL getfacl → Get file ACL Add Permissi...
  • Linux filesystem : /boot -> Grub.cfg /root -> home of root /dev -> system device (mouse, keyboard) /etc -> configuration files /bin -> /usr/bin -> everyday user commands...
  • Linux File Links and Permissions : Links Soft Link (Symbolic Link) ln -s Link will be removed if the original file is removed or renamed. Hard Link ln Deleting, renaming, or moving t...
  • Basic File Commands / File Search Commands : touch one two three → Create 3 files mkdir folder → Make directory mv -R / cp -R → Move or copy folder including subfolders find . -name "geor...
  • Vi Editor : Vi Editor Commands i → insert mode I → insert at line start ESC → escape to command mode R → replace mode x → delete character dd → delete line yy → ...

Linux filesystem/shaare/WhCZtQ

  • RHCSA
  • linux
  • sysadmin
  • red_hat
  • filesystem
  • RHCSA
  • linux
  • sysadmin
  • red_hat
  • filesystem

/boot -> Grub.cfg
/root -> home of root
/dev -> system device (mouse, keyboard)
/etc -> configuration files
/bin -> /usr/bin -> everyday user commands
/sbin -> /usr/sbin -> system/filesystem commands
/opt -> third party app (not part of os)
/proc -> running process (only in memory)
/lib -> /usr/lib -> C prog lib
/tmp -> temporary folder
/home -> user dir
/var -> system logs
/run -> system daemon -> store temporary runtime / PID file
/mnt -> mount external file system
/media -> CDrom

2 weeks ago Permalink
cluster icon
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • Basic File Commands / File Search Commands : touch one two three → Create 3 files mkdir folder → Make directory mv -R / cp -R → Move or copy folder including subfolders find . -name "geor...
  • Vi Editor : Vi Editor Commands i → insert mode I → insert at line start ESC → escape to command mode R → replace mode x → delete character dd → delete line yy → ...
  • User management : Essential Commands: useradd, groupadd, userdel, groupdel, usermod Modify 3 files: /etc/passwd, /etc/group, /etc/shadow Create User with Custom O...
  • Navigating File System / Linux filetypes : ls -l → List pwd → Print working directory dr-xr-xr-x | directories -rw-r--r-- | file Linux File Types Symbol Type - Regular file d Dire...


(14)
Links per page
  • 20
  • 50
  • 100
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community