by Sherif Abdalla | Linux
The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it is worthwhile to learn the command line. The command line allows you to do a number of things that you otherwise cannot do from the...
by Sherif Abdalla | HowTo
Purpose This article gives options for converting JSON to YAML using Ruby. Prerequisites Ruby CLI ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < file.json > file.yaml 1 ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' <...
by Sherif Abdalla | Linux
Linux is a multiuser operating system. In a multiuser environment, it is necessary to ensure that a user cannot access or modify files or directories that they aren’t supposed to. File permissions provide a protection mechanism for controlling access to files...