Ask Linux.com: detecting drives, scripting bash, and distributing documents


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Ask Linux.com: detecting drives, scripting bash, and distributing documents
# 1  
Old 05-17-2008
Ask Linux.com: detecting drives, scripting bash, and distributing documents

Sat, 17 May 2008 12:04:00 GMT
-This week in our semi-fortnightly stroll through the Linux.com forums: working with external hard drives, configuring all those extra mouse buttons, bash scripting help, and advice on finding software for the hearing impaired.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash detecting number of digits in line

Hi I have a problem, I am attempting to write a bash script that goes through a file and can determine how many characters are at a set point in a line starting with QTY+113:100:PCE, If it detects 3 digits (number in bold) then pad it out with 12 zero's If there are only two digits then pad it... (8 Replies)
Discussion started by: firefox2k2
8 Replies

2. Shell Programming and Scripting

Need help on bash scripting in Linux

Could anyone help me with the below scripting task. my requirement is as below 1. I have two directories /var/tmp/dir1 & /var/tmp/dir2 once i run the script test.sh it should ask as below. Please choose the below path 1 (or) 2 1. /var/tmp/dir1 2. /var/tmp/dir2 else. exit 2. once i... (4 Replies)
Discussion started by: praveenkumar.v
4 Replies

3. Red Hat

Linux Red Hat AS3 Network card is not detecting ...

Dear Expert, I 've installed Redhat linux AS3, My machine having Inbuild network card (Intel(R) 82566DM-2 Gigabit Network Connection). I've downloaded e1000e-2.3.2 from Intel site, but its not working for my machine. I'm unable to configure the Network. ifconfig eth0 xx.xx.xx.xx netmask... (0 Replies)
Discussion started by: Mohammed Faiz
0 Replies

4. Shell Programming and Scripting

Detecting key combination in bash

I need to grab key combination from a bash script and store it in a variable. Is there any way to do this? Thanks in advance! (1 Reply)
Discussion started by: prism1
1 Replies

5. Shell Programming and Scripting

BASH Script to Detect and List USB Flash Drives

Hello. This is my first post to this forum. I've read many of the posts over the last two or three years and I've learned a lot. I'm creating a live Linux distribution using the Linux Live Scripts -- just as a hobby project -- and I'm wanting to create an automated way for a user to copy the... (7 Replies)
Discussion started by: godzillarama
7 Replies

6. UNIX for Dummies Questions & Answers

Why does Linux use files to represent drives?

Why does Linux use files to represent drives such as pipes and network connections? (2 Replies)
Discussion started by: MS_CC
2 Replies

7. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies

8. Shell Programming and Scripting

Detecting Vmware on Linux

Hi, I need help to detect Vmware on Linux and SunOS. I need to know if Vmware is installed on the box. If yes then if it is a physical or a virtual machine. Thanks in advance, amittal (2 Replies)
Discussion started by: amittal
2 Replies

9. UNIX for Dummies Questions & Answers

detecting drives

I know that Unix is different from windows in that it needs more manual configuring but how do I get Solaris 8 (Intel version) to recognize my floppy drive and cd-rom?? I mean does it automatically detect the drives at startup and I have to mount them or do I have to create the drives somehow and... (1 Reply)
Discussion started by: eloquent99
1 Replies
Login or Register to Ask a Question
ULIMIT(3)						     Linux Programmer's Manual							 ULIMIT(3)

NAME
ulimit - get and set user limits SYNOPSIS
#include <ulimit.h> long ulimit(int cmd, long newlimit); DESCRIPTION
Warning: This routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit(), see bash(1). The ulimit() call will get or set some limit for the calling process. The cmd argument can have one of the following values. UL_GETFSIZE Return the limit on the size of a file, in units of 512 bytes. UL_SETFSIZE Set the limit on the size of a file. 3 (Not implemented for Linux.) Return the maximum possible address of the data segment. 4 (Implemented but no symbolic constant provided.) Return the maximum number of files that the calling process can open. RETURN VALUE
On success, ulimit() returns a nonnegative value. On error, -1 is returned, and errno is set appropriately. ERRORS
EPERM A unprivileged process tried to increase a limit. CONFORMING TO
SVr4, POSIX.1-2001. POSIX.1-2008 marks ulimit() as obsolete. SEE ALSO
bash(1), getrlimit(2), setrlimit(2), sysconf(3) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-08-06 ULIMIT(3)