URL: https://linuxfr.org/forums/linux-debutant/posts/demande-d-aide-pour-un-devoir-sur-linux Title: Demande d’aide pour un devoir sur Linux Authors: SoooLooo Date: 2021年09月07日T02:04:13+02:00 License: CC By-SA Tags: Score: 3 Bonsoir à tous, Je suis étudiante et j’ai un devoir à rendre sur Linux pour mercredi. Je suis archi débutante et nous n’avons pas eu de cours sur le sujet... Il s’agit donc d’un travail de recherche 🧐 Et j’ai cherché, mais franchement les commandes au tout début ce n’est pas simple du tout et ça ne donne presque jamais comme dans les examples. Est-ce qu’il y aurait une âme charitable svp pour m’aider un peu? J’ai la même chose à faire également sous Windows et le tout pour mercredi et... je suis complètement perdue. Je me permets de copier/coller les questions, si quelqu’un veut m’aider un peu? 🙏 svp. Je bloque déjà à la 3eme question 😥 Basic: 1. Enter root privileges 2. List all the files and folders in the directory /var 3. Read the contents of the file /var/log/auth.log 4. Read the last 15 lines of the file /var/log/auth.log 5. Read the first 8 lines of the file /var/log/auth.log 6. Print the current working directory 7. Enter the directory / 8. Print the contents of /var/log/auth.log with the line numbers 9. List all the files and folders in the directory /var separated by comas 10. List all the files and folders in the directory /var as a list separated by newlines (instead of one line) 11. Print the date and time now Network and process list: 12. Print all the network connection on the machine 13. Print only the TCP network connection on the machine 14. Print only the UDP network connections on the machine 15. List all the listening sockets on the machine 16. List all the network connection, including the listening sockets, that are tcp or udp 17. List all the processes on the machine except session leaders, and in full monitoring. 18. List only the information of process with process id of 10 19. List only the information of the process with the PID of 10,14,17 (in one command) 20. List the processes that were run with the command line "systemd" 21. List the interfaces and IPs on the machine 22. Print the route table of the machine 23. Find the Default Gateway of the machine 24. Print the ARP cache table of the machine 25. Ping the default gateway 26. Ping exactly (and only) 7 packets to the default gateway 27. Ping the default gateway with the icmp packets the data of 100 bytes (not including the icmp header). Make sure that the ping returns with 108 bytes (100 data + header) D’avance merci. Bonne nuit