Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell substring last characters

echo -n $str | tail -c 1
# gets the last character, increase number to get more characters
Comment

PREVIOUS NEXT
Code Example
Shell :: npm warn 
Shell :: View Commit History With Changes in git command 
Shell :: powershell create new file and open 
Shell :: create new branch 
Shell :: docker network create 
Shell :: how to make .gitignore 
Shell :: tar uncompress tgz 
Shell :: regex last match 
Shell :: lost password gitlab 
Shell :: Download file from URL on Linux using command line 
Shell :: how to undo a bunch of commit sent that was pushed 
Shell :: shutdown shortcut ubuntu 
Shell :: stash with name 
Shell :: install nodejs via homebrew 
Shell :: flutter desktop 
Shell :: git stash bitbucket 
Shell :: delete merge branch git 
Shell :: how to copy a Directory and its content in ubuntu 
Shell :: selenium run chhrome headless 
Shell :: bash script cheat sheet 
Shell :: restart service linux crontab 
Shell :: ? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) 
Shell :: how to scroll up in linux terminal 
Shell :: how to save curl output to a file 
Shell :: linux install software 
Shell :: revert the revert 
Shell :: how to connect raspberry pi to laptop using hdmi 
Shell :: ubuntu terminal search command 
Shell :: how to install macos from usb 
Shell :: linux acpi turn display on/off 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =