In: Computer Science
Using a simple text editor, create a text file with the following name "Test" and content:
GNU GENERAL PUBLIC LICENSE
The GNU General Public License is a free, copy left license for the GNU General Public License is intended to guarantee your freedom to GNU General Public License for most of our software; it applies …
please give the answer in linux with secreenshot
A. Create file using touch command then open vi Editor and copy paste contents of text. Press Esc :x to save changes to Test file using vi editor


B. Print the file permissions using ls -l command



First you can add the user “Reem” using sudo adduser Reem command then change the owner of the file to this user using the chown command
You can add sticky bit to the file using chmod +t GNU command



Below is the list of commands used:
touch Test
vi Test
ls -l Test
mkdir 361
cp ./Test 361
cd 361
mv Test GNU
tail -n 5 GNU
sudo adduser Reem
chown Reem GNU
chmod +t GNU
ls -l GNU
grep "General" GNU
wc -c GNU