Showing entries with tag "Linux".

Found 5 entries

Tar: Auto detecting the compression type
The Linux `tar` command has a cool feature to [auto-detect](https://linux.die.net/man/1/tar) the file compression based on the archive suffix. >-a, --auto-compress > > use archive suffix to determine the compression program This allows you to change file compressions by just changing the archive suffix: ...
Linux: Remote desktop client
For a long time I have used `rdesktop` on Linux to connect to remote Windows boxes. Redhat is [deprecating](https://bugzilla.redhat.com/show_bug.cgi?id=1075697) `rdesktop` because it does not the support modern encryption technologies that Window uses. Instead they are recommending that users...
Linux: write a network image to an SD card
If you have a fast network connection you can read an ISO directly from the Internet and write to a flash drive, or SD card. Just pipe `curl` to `dd` (requires root) and you're done. curl ftp://mirror.web-ster.com/centos/7.2.1511/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.iso | sudo dd of=/dev/sde bs=1M
Linux: Fedora 22 major package versions
Fedora 22 has been released and I gathered the versions of some core packages: |Package|Version| |-------|-------| |Perl |5.20.2 | |PHP |5.6.9 | |Vim |7.4.640| |Apache |2.4.12 | |Kernel |4.0.4 |
Linux: Count CPU instructions
...and it got me thinking about CPU instructions. According to the graphic, the Wordpress homepage required 9.4 billion machine instructions to render, but they've optimized PHP7 and it's now down to 2.6 billion. To count CPU Instructions on a Linux box you can use the `perf` command: perf stat -e instructions In comparison, some very **simple** Linux commands take a significant amount of instructions: # Approximately 640,000 instructions perf stat -e instructions echo...