
- Every File You Have To Create You Should Write Your Name And Id Inside It On Your Machine Create A Subdirectory Under 1 (195.42 KiB) Viewed 44 times
Please notice that the commands for Q1 is stored inside Jobs.txt and Q2 commands is stored inside String.txt, also for the id number inside every file i will do it.
[6/5, 9:46 PM] 7jl: and here is the StudentsPassword:
comp311ta

501

Comp311TA_Account:/home/comp311ta:/bin/bash
u1142478

502:66:Sondos_Awashra:/home/students/comp311/u1142478:/bin/bash
u1150129

503:66:Mohammad_Kahala:/home/students/comp311/u1150129:/bin/bash
u1150279

504:66:Tareq_Qahoush:/home/students/comp311/u1150279:/bin/bash
u1150312

505:66:Ahmad_Thabet:/home/students/comp311/u1150312:/bin/bash
u1150357

506:66:Mohammad_Alqayem:/home/students/comp311/u1150357:/bin/bash
u1150409

507:66:Ahmad_Jamal:/home/students/comp311/u1150409:/bin/bash
u1150523

508:66:Tarik_Suid:/home/students/comp311/u1150523:/bin/bash
u1152270

509:66:Atheer_Mohammad:/home/students/comp311/u1152270:/bin/bash
u1152484

510:66:Mohammad_Asad:/home/students/comp311/u1152484:/bin/bash
u1152679

511:66:Haneen_Ashkar:/home/students/comp311/u1152679:/bin/bash
u1153026

512:66:Noor_Abuhijleh:/home/students/comp311/u1153026:/bin/bash
u1161333

576:66:Roa'A_Injass:/home/students/comp311/u1161333:/bin/bash
u1161564

577:66:Abdallah_Zyoud:/home/students/comp322/u1161564:/bin/bash
u1162505

579:66:Mohammed_Issa:/home/students/comp311/u1162505:/bin/bash
u1163149

580:66:Ibraheem_Issa:/home/students/comp311/u1163149:/bin/bash
u1111308

581:66:Saeed_Sabah:/home/students/comp311/u1111308:/bin/bash
u1160305

513:66:Rebhiya_Sbeih:/home/students/comp311/u1160305:/bin/bash
u1160440

514:66:Marah_Hamad:/home/students/comp311/u1160440:/bin/bash
u1160455

515:66:Ahmad_Basheer:/home/students/comp311/u1160455:/bin/bash
u1160481

516:66:Suhaib_AbuGhannam:/home/students/comp311/u1160481:/bin/bash
u1161357

517:66:Bara_Ibrahim:/home/students/comp311/u1161357:/bin/bash
u1161405

518:66:Rawan_Alimi:/home/students/comp311/u1161405:/bin/ksh
u1162147

519:66:Nada_Zalloum:/home/students/comp311/u1162147:/bin/bash
u1162422

520:66:Reem_Shamasnah:/home/students/comp311/u1162422:/bin/bash
u1130212

521:66:Ibrahim_Njoum:/home/students/comp311/u1130212:/bin/bash
u1131589

522:66:Yara_Hussien:/home/students/comp311/u1131589:/bin/ksh
u1162074

535:66:Sabry_Alawy:/home/students/comp311/u1162074:/bin/bash
u1162213

536:66:Noor_Hmeidan:/home/students/comp311/u1162213:/bin/bash
u1162230

537:66:Jehad_AlMutan:/home/students/comp311/u1162230:/bin/bash
u1162309

538:66:Hammam_Hamad:/home/students/comp311/u1162309:/bin/bash
u1162314

539:66:Samer_Almasloot:/home/students/comp311/u1162314:/bin/bash
u1163095

540:66:AbdelRahim_Ahmad:/home/students/comp311/u1163095:/bin/bash
u1153160

541:66:Muayed_Mafarjeh:/home/students/comp311/u1153160:/bin/ksh
u1143191

542:66:Alaa_Zubaidi:/home/students/comp311/u1143191:/bin/bash
u1160766

543:66:Ahmad_Ghannam:/home/students/comp311/u1160766:/bin/bash
u1152185

544:66:Mahmoud_AbdelKader:/home/students/comp311/u1152185:/bin/bash
u1162651

545:66:Aya_Khateeb:/home/students/comp311/u1162651:/bin/bash
u1151283

546:66:Mustafa_Salah:/home/students/comp311/u1151283:/bin/ksh
u1141480

547:66:Ahmad_Qasem:/home/students/comp311/u1141480:/bin/bash
u1141648

548:66:Mohammad_Mohammad:/home/students/comp311/u1141648:/bin/bash
u1141879

549:66:Rawan_Khalaf:/home/students/comp311/u1141879:/bin/bash
u1142011

550:66:Mohammad_Fitiani:/home/students/comp311/u1142011:/bin/bash
u1142608

551:66:Haitham_Idrees:/home/students/comp311/u1142608:/bin/bash
u1142651

552:66:Dalal_Fukheda:/home/students/comp322/u1142651:/bin/bash
u1152329

553:66:Ibrahim_Rifaie:/home/students/comp311/u1152329:/bin/bash
u1152477

554:66:Rami_Salman:/home/students/comp311/u1152477:/bin/ksh
u1153214

555:66:Fahd_Hammouda,u1151429:/home/students/comp311/u1153214:/bin/bash
u1153274

556:66:fares whdan,10,0568117105,022864125:/home/students/comp311/u1153274:/bin/bash
u1153279

557:66:Yazeed_Nofal:/home/students/comp311/u1153279:/bin/bash
u1160063

558:66:Ayah_Sa'Fin:/home/students/comp311/u1160063:/bin/bash
u1160343

559:66:Mousa_Mtera:/home/students/comp322/u1160343:/bin/bash
u1160394

560:66:Laith_Al-Budeiri:/home/students/comp311/u1160394:/bin/bash
u1161196

561:66:Jeries_Nasrawi:/home/students/comp311/u1161196:/bin/bash
u1161721

562:66:Mohammad_Dar-Ahmad:/home/students/comp311/u1161721:/bin/bash
u1162344

563:66:Tawfiq_Abdulraziq:/home/students/comp311/u1162344:/bin/bash
u1162949

564:66:Basil_Al-Sa`Ed:/home/students/comp311/u1162949:/bin/sh
u1140360

566:66:Rawan_Safi:/home/students/comp311/u1140360:/bin/bash
u1141936

567:66:Areej_Rimawi:/home/students/comp311/u1141936:/bin/sh
u1142984

568:66:Ahlam_Ghazawneh:/home/students/comp311/u1142984:/bin/bash
u1150845

569:66:Haneen_Taweel:/home/students/comp311/u1150845:/bin/bash
u1151429

570:66:Amer_Aldaghamin:/home/students/comp311/u1151429:/bin/bash
u1151432

571:66:Yanal_Abdeljawwad:/home/students/comp311/u1151432:/bin/bash
u1160034

572:66:Taqwa_AbuAsbah:/home/students/comp311/u1160034:/bin/bash
u1150383

523:66:Rami_Yahya:/home/students/comp311/u1150383:/bin/bash
u1151913

524:66:Ahmad_Salah:/home/students/comp311/u1151913:/bin/bash
u1153216

525:66:Isra_Hamed:/home/students/comp311/u1153216:/bin/bash
u1150383

523:66:Rami_Yahya:/home/students/comp311/u1150383:/bin/sh
u1151913

524:66:Ahmad_Salah:/home/students/comp311/u1151913:/bin/bash
u1153216

525:66:Isra_Hamed:/home/students/comp322/u1153216:/bin/bash
u1160076

526:66:Adnan_Assali:/home/students/comp322/u1160076:/bin/bash
u1160155

527:66:Hani_Yaaqbeh:/home/students/comp311/u1160155:/bin/sh
u1160170

528:66:Shadi_Mohammad:/home/students/comp311/u1160170:/bin/bash
u1160643

529:66:Fatima_Ayyash:/home/students/comp311/u1160643:/bin/bash
u1160658

530:66:Kamaleddin_Shaer:/home/students/comp311/u1160658:/bin/bash
u1160707

531:66:Malak_Shoubi:/home/students/comp322/u1160707:/bin/bash
u1161044

532:66:Fida_Zohour:/home/students/comp311/u1161044:/bin/bash
u1161390

533:66:Noor_Kharoubi:/home/students/comp311/u1161390:/bin/bash
u1161444

534:66:Salah_Suliman:/home/students/comp322/u1161444:/bin/bash
u1160350

573:66:-o,q,q,q:/home/students/comp311/u1160350:/bin/bash
u1160563

574:66:w:/home/students/comp311/u1160563:/bin/bash
u1160703

575:66:111,1,025485,44dfd:/home/students/comp311/u1160703:/bin/bash
u1152901

582:66:Darin_Jojas:/home/students/comp322/u1152901:/bin/bash
Every file you have to create, you should write your name and ID inside it. On your machine, create a subdirectory under your home directory called youruserid_prj2 (e.g. ul19xxxx_prj2). and create the following inside it. Create two files, Jobs.txt and Strings.txt
Question One: (store all commands for part A and part B inside Jobs.txt file) Part 4: Without Using fg and ctrl+z command. [1] Hangup forever [2]- Stopped forever [3]. Running forever & [4]+ Stopped forever [5] Hangup forever [6]. Killed forever Write down all command(s) only that used for creating jobs with there status as shown above, inside the file you were created under part A section. PART B: (use One command line only) 1) Display the default shell used by user root. 2) Display the number of files in directory /etc that end with the word .conf 3) Display all files in (etc) directory does not contain word passwd in these files page by page at screen 4) Find the names of all account that log in the system and print login time for him/her (hint: open anothernew terminal, so you have two terminals opened) 5) Print login time for your current active terminal (i.e pts/0)
Question Two (store all commands for this section inside the Strings .txt file. For this sectionuse the attached student Password file) Note: use One command line only 1. Print lines form 14-16 and save them on "output.txt" file ? 2. List the login names for all users with the "ksh" shell as their default shell. 3. Display the first names of all users whose last names end with the letter 'n' or 'm' (for all cases): 4. Display the last names of all the users sorted by their user id numbers. 5. Remove Duplicated lines form the file attached and sort them in new file called newStudent. 6. Display Student ID (without u), Student Name (without underscore), sorted in alphabetical order 7. Display all comp322 students names without underscore (First Last). 8. Display all students (username) whose name is start with mohammad (all cases), store them, sorted in descending order 9. Search for word comp322 and replace it with word comp311 and store the result in updatedComp311 file. 10. Display all students (first last) names whom numbers are started with 112,113, or 114? tar -cvf youruserid_prj2.tar youruserid_prj2