Difference between revisions of "Shell"

From Wiki at Neela Nurseries
Jump to: navigation, search
(create local page on shell scripting 2023-08-08)
 
m (minor correction)
Line 6: Line 6:
 
   $ ls -q `find . -inum 9704871`
 
   $ ls -q `find . -inum 9704871`
 
   './'$'\033\033'
 
   './'$'\033\033'
   $ mv mv './'$'\033\033' betterfilename
+
   $ mv './'$'\033\033' betterfilename

Revision as of 18:57, 8 August 2023

Shell Scripting


How to produce a usable filename which contains <ESC> characters, and to rename that badly named file:

 $ ls -q `find . -inum 9704871`
 './'$'\033\033'
 $ mv './'$'\033\033' betterfilename