Mar 10, 2016

bash head tail

get a header:

$ cat myfile | head -c 1024 > file.new

get a header with offset:

$ cat myfile | tail -c +4096 | head -c 1024 > test.new

No comments:

Post a Comment

happ

# скачиваем deb пакет с официального сайта https://www.happ.su/main/ru # установка deb пакета $ sudo dpkg -i /tmp/Happ.linux.x64.deb # устан...