Find Jobs
Hire Freelancers

Linux Programming/C Programming

$10-30 CAD

Ditutup
Dibuat sekitar 10 tahun yang lalu

$10-30 CAD

Dibayar ketika dikirim
Implement the ls command using the stat kernel function. The program should work as follows: 1. Capture the long and short options specified using getopt_long (7 marks) 2. Verify that your program is able to correctly capture all options. (3 marks) 3. Process each of the non-flag related arguments as if they are files in a subroutine - the pattern should be similar to the example used in the demos of the cat command. 4. For any file that fails to stat use perror to report on the problem – and make sure that this feature is tested. (15 marks – note that there are 19 marks available) 5. If there are no non-flag related arguments, process the entire current directory. (5) 6. Create a bash script containing a suite of test commands for your program. Explain your test strategy. (5 marks) 7. Include a commented program listing, sample output and a status report describing which features work, do not work fully (describe your problem) or do not work at all. The standard flags you should capture are the following: a) –a --all (1) b) –i (1) c) –L (1) d) –s --size (1) e) –F --classify (2) Capture the following new flags that were designed for this assignment f) –P octal | symbolic display the file permissions either as octal or symbolic (3) g) --minSize nnn do not display files that are smaller than nnn bytes (1) h) - -maxSize nnn do not display files that are larger than nnn bytes (1) i) – time ctime | mtime | atime display the time specified. Note that the - - time flag can appear multiply so that all times are shown. (2) j) -g show the group number in decimal (1) k) - - group show the group name (2) l) -u show the userid as a number (1) m) - - author show the users’s real name (ie: James Bond) (2) n) –n show the number of hard links (1) Note: Unlike the real ls, if a file is a directory you do not have to show it’s contents. Nor are we asking for the -l (long) option which would display most fields. Your routine do¬¬¬_ls will consist mostly of if statements – if the option is present then display the feature. The minSize and maxSize features should be tested first. If the file is too big or too small then simply return right away, displaying noting.
ID Proyek: 5425235

Tentang proyek

10 proposal
Proyek remot
Aktif 10 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
10 freelancer menawar dengan rata-rata $96 CAD untuk pekerjaan ini
Avatar Pengguna
Hi there, I have over 7 years experience working on HTML, Wordpress, Magento, Database administration, OpenCart, Website Design, Logo / Banner Design Joomla, CSS and Linux Administration. I have read the project description very well, and i would like to complete this project. lets complete this project
$53 CAD dalam 1 hari
4,9 (793 ulasan)
8,2
8,2
Avatar Pengguna
Hello there, I can help you with this project. I have lots of experience with Linux programming. Please check out my profile for reviews on other jobs I've finished, and contact me if you are interested. Looking forward to hear from you.
$79 CAD dalam 1 hari
5,0 (47 ulasan)
5,7
5,7
Avatar Pengguna
I have done something like this before, so I have sort of previous experience with this. I have a good understanding on shell scripting and C.
$25 CAD dalam 2 hari
5,0 (2 ulasan)
3,6
3,6
Avatar Pengguna
A proposal has not yet been provided
$587 CAD dalam 9 hari
5,0 (2 ulasan)
3,3
3,3
Avatar Pengguna
Hi! I have lots of experience doing similar assignments on this website. Please contact me for further discussion. Thanks
$45 CAD dalam 1 hari
4,7 (4 ulasan)
3,0
3,0
Avatar Pengguna
I have a lot of experience in C programming using Linux system functions, as well as processing CLI arguments, short and log options. I believe I can complete your project quickly and effectively. This is actually my first bit as a freelancer. I assure you I will put much effort into this job and earn that first feedback from you. Regards, Vjekoslav Giacometti
$35 CAD dalam 4 hari
5,0 (1 ulasan)
2,2
2,2
Avatar Pengguna
Hi. I am an expert in C/C++ and Linux programming. I got all your requirements. Let me help you do this project. Thank you so much for your attention.
$35 CAD dalam 7 hari
5,0 (1 ulasan)
1,1
1,1
Avatar Pengguna
Hi I can help you for this project. Give me a chance. I have 2.5 years of exp in this field. Thanks Nikhil
$25 CAD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera CANADA
Etobicoke, Canada
5,0
83
Memverifikasi Metode pembayaran
Anggota sejak Agu 12, 2013

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.