Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login
1 result tagged wildcards

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
  • 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 filesystem : /boot -> Grub.cfg /root -> home of root /dev -> system device (mouse, keyboard) /etc -> configuration files /bin -> /usr/bin -> everyday user commands...
  • 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 → ...
  • Crontab / at : Crontab Basics crontab -e → edit crontab crontab -l → list crontab entries crontab -r → remove crontab entries systemctl status crond → check crond s...
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...


(14)
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