cut command
Use f fields flag and d delimiter flag to achieve cut result of your code:
echo "1 2 3 4 5 6 7" | cut -d ' ' -f '2-4,6-'
2 3 4 6 7 # field specifies to cut 2th to 4th and 6th until last fields
Also in C++:
- how to open epub file in ubuntu
- get latitude and longitude based on user entered place android
- how to execute docker command in shell script
- clone branch git
- kill skype ubuntu
- postgresql user permissions to database
- git branch delete local and remote
- yarn uninstall
- last return code linux
- install appx
- cleaning up your ubuntu system
- check service status in linux
- ubuntu export path
- git clone specific branch
- Permission denied (publickey) github error
- linux tar command
- bash list process on port
- ubuntu minimize window by clicking on dock
- ab benchmark example
- check gnome version ubuntu terminal
- adb for ubuntu
- install composer in dockerfile
- clear history centos
- gradle