User Tools

Site Tools

tools:bash:getting-started

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:bash:getting-started [2024/05/20 04:05] โ€“ [Filesystem Traversal] Humphrey Boa-Garttools:bash:getting-started [2024/08/06 05:54] (current) โ€“ external edit 127.0.0.1
Line 227: Line 227:
   $ grep searchterm path/   $ grep searchterm path/
  
 +For more information, see [[tools:grep|grep]].
 ===== Basic File and Directory Commands ===== ===== Basic File and Directory Commands =====
  
Line 282: Line 283:
 This command normally creates [[wp>Hard link|hard links]] by default. The ''-s'' flag directs ''ln'' to create a symlink instead of hard link. In 9/10 cases, you will probably only need to use symlinks. This command normally creates [[wp>Hard link|hard links]] by default. The ''-s'' flag directs ''ln'' to create a symlink instead of hard link. In 9/10 cases, you will probably only need to use symlinks.
  
-To use ''ln'' to add, say, an executable [[tools:appimage|AppImage]] to your account's personal /bin/ directory, and assign it a new shorthand name, you would run something like this:+To use ''ln'' to add, say, a symlink for an executable [[tools:appimage|AppImage]] to your account's personal /bin/ directory, and assign it a new shorthand name, you would run something like this:
  
   $ ln -s path/to/the.appimage ~/.local/bin/newname   $ ln -s path/to/the.appimage ~/.local/bin/newname
Line 310: Line 311:
   $ rm ./*   $ rm ./*
      
-Delete all files within directory /foldername/:+Delete all files within directory //foldername//:
  
   $ rm foldername/*   $ rm foldername/*
Line 323: Line 324:
  
 ''rmdir'' will not delete a folder with contents. Use ''rm -rf foldername/'' to have **rm** to recursively delete the folder and its contents instead. ''rmdir'' will not delete a folder with contents. Use ''rm -rf foldername/'' to have **rm** to recursively delete the folder and its contents instead.
 +
 +----
 +
 +  * Next Page: [[tools:bash:shortcuts piping|Shortcuts & Piping Commands โ†’]]
 +  * [[tools:bash|Back to Index]]
tools/bash/getting-started.1716177947.txt.gz ยท Last modified: (external edit)

Find this page online at: https://bestpoint.institute/tools/bash/getting-started