Get first and last line of file


bash way
(head -1; tail -1) < /etc/passwd

sed way
sed -n '1p; $p' /etc/passwd

awk way
awk 'NR==1; END { print }' /etc/passwd

Ubuntu 24.04 PHP OCI8 error

  As oci8.so still expecting libaio.so.1 , creating the following symlink resolves the issue: ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t...

Mais vistos