"Help needed - Script1"

Post #303034447 by edujs7 on Friday 26th of April 2019 03:40:32 AM

Full Discussion: Help needed - Script1
Help needed - Script1

Write a script called big which takes a filepath as an argument. The script
should print "Big" if the file is more than 1000 bytes or "Small" if the file
is less than 1000 bytes. If exactly one argument was not given, print "Error"
to stderr.

University Of technology Sydney - Unix Systems Programming

Last edited by edujs7; 3 Weeks Ago at 08:05 AM..
UNIX and Linux Facts

Unix (trademarked as the UNIX certification mark) is a very mature family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix. Unix development starting in the 1970s by legendary Bell Labs programmers Ken Thompson, Dennis Ritchie, and others. Unix was first targetted for the Bell System and AT&T licensed Unix to outside parties. In the 1970s time period, this lead to a variety of for-profit as well as not-for-profit Unix variants. In the early days, this included the University of California, Berkeley (BSD), Microsoft (Xenix), IBM (AIX), and Sun Microsystems (Solaris). In the early 1990s AT&T sold their Unix rights to Novell. In 1995 Novell sold their Unix business to the Santa Cruz Operation (SCO). The UNIX trademark was passed to The Open Group, a "neutral" industry consortium. The Open Group promoted the use of the UNIX trademark for certified operating systems that comply with the Single UNIX Specification (SUS). In 2014 Apple's macOS became the Unix version with the largest global install base and macOS remains the largest Unix-user base today.
Linux is a family of open source Unix-like operating systems based on the Linux kernel. The Linux kernal is an operating system kernel first released by Linus Torvalds on 17 September 1991. Linux distributions include the Linux kernel, system software and libraries. Popular Linux distributions include Debian, Fedora, and Ubuntu. Commercial Linux distributions include Red Hat Enterprise Linux and SUSE Linux Enterprise Server. Linux is freely redistributable. Anyone may create a Linux distribution for any purpose.
Related Linux and UNIX Technical Support
help needed
I have a data file like this. I need to append N at the end for each and every record. How can i do that. My input filr lokks like this 6486597|327|3023|64|00001|DR|41417|T|00001|N My out put should look like this 6486597|327|3023|64|00001|DR|41417|T|00001|N|N This should be...... Shell Programming and Scripting
Shell Programming and Scripting
Help needed
Hello all, I am new to unix.i need the interview questions commonly asked for shell scripting and unix.if anyone had the useful link please tell me. Thanks in advance...... Shell Programming and Scripting
Shell Programming and Scripting
help needed...
Guys, There is a file where there are 1000s of records. In the file if some condition satisfies in a certain TAB record (TAB would be first 3 digits of a certain record) then move TAB and all the records (or lines) after TAB to new_file, until another TAB record is encountered in the same...... Shell Programming and Scripting
Shell Programming and Scripting
Help needed
Hi, Can anyone please tell me where I can get the small projects with source code based on client-server programming using sockets in unix :confused::confused::confused: Thanks in advance...... IP Networking
IP Networking
Help needed
hello guys I was wondering if somebody can help me to write a script that use a ypcat comand to list a gruop of memebers and the passwrod file and I can arrange the output as a following 5 : fac 6 : office 6 : mkl 18 : system 20 : xsystems 21 : guest... Homework & Coursework Questions
Homework & Coursework Questions