I'm now studying as junior student in VSB-TUO university in Czech Republic. My teacher give me some tasks about sh programming. he always ask about : to access file, del sime string in this...or access system like count sum of files and count how many files in this address... or talk this people use which output or input device ...
Anyone have tutorials of this ? Could you help me. I would like to have some example of ps, sed, ls, ...
I have one task : create procedure, which find in this adress (and also in its subdirectory) how many files and how big (count sum files) in this adress.
He had done this but I write bad. it's doesn't run. Could you help me to repair it : here it is
I think some thing wrong in "for j in ...." and I don't understand this : ls -l $i |sed 1d |sed'/ */s// /g' |cut -d"" -f5c
Thanks you very much
Last edited by Optimus_P; 02-04-2004 at 10:47 AM..
Originally posted by mle I'm now studying as junior student in VSB-TUO university in Czech Republic. My teacher give me some tasks about sh programming. he always ask about ... ...
I'm sorry, mle, but it's a long-standing policy to not help students with their homework; your instructor should be able to help you. View the rules.
Hello.
I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations:
1. Linux and iOS are UNIX-like systems, POSIX compliant.
2. It is useful to know C language... (2 Replies)
I have started writing one script. It is not taking the if block.
Here is the script:
#!/bin/sh
set USER='/usr/ucb/whoami'
#######################################################################
#Killing Process
#######################################################################... (6 Replies)
Can someone help me on suggesting some ways to access the memory content in RAM directly from C/C++ source code.
Please provide me any book name or any URL so that I can get an exhaustive
knowledge over it.
If possible please give me some tips on interacting with hardwares directly
through... (3 Replies)
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Hello all!!
I am new to programming, and to this forum. :D
I am having sort of a problem. Me and my coworker are working on a code, both of us are stumped on a few things.
One is we have a whole log file, i have found how to extract by column, but not by row. I need to extract by both.:confused:... (7 Replies)
Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do.
It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
i am new in linux environment .I have used vi editor of Unix to get a programe compiled through "gcc ".kindly give me the options to get a program compiled & executed written in c on vi editor.
I want the command to compile a file and the command to get that compiled file executed with any... (2 Replies)