Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sed replace specific character position

sed -E 's/^(.{11})49/158/' data.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: chmod by group 
Shell :: how to copy directory in linux using ssh 
Shell :: Linux search manual and list all pages with term 
Shell :: compile 
Shell :: sftp client online linux remote 
Shell :: docker swarm redistribute services on nodes 
Shell :: Shell script to adjust screen mode 
Shell :: powershell message all users 
Shell :: quit ionic 
Shell :: Installing Atom in Ubuntu OS 
Shell :: refname master is ambiguous 
Shell :: truenas community unable to Download Plugins 
Shell :: activating virtual environment in linux access denied 
Shell :: Using sed to find and replace complex string (preferrably with regex) 
Shell :: make your react an electron desktop app 
Shell :: bind mac to AD via JAMF with policy* 
Shell :: How to create a hash file and verify it 
Shell :: angular breadcrumb from url 
Shell :: linux mount all fstab 
Shell :: virtmanager network autostart 
Shell :: Angular ng-upgrade stuck in infinite loop with singleton provider 
Shell :: set environmental variables for one command powershell 
Shell :: ssh open gui app on host 
Shell :: systemd service after internet connection 
Shell :: Error: Cannot make for win32 and target squirrel: the maker declared that it cannot run on win32 
Shell :: air is not a command 
Shell :: metasploit rc 
Shell :: ubuntu apt install default path 
Shell :: unorm npm 
Shell :: git for nube 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =