Fixed readAll and writeAll for linux to allow multiple calls by creating a new command for each run. Added check for xsel binary in PATH, and added support to use xclip if xsel is not found.