Search Results

Search: Posts Made By: laumars
25,443
Posted By laumars
Nicely done
Nicely done
27,490
Posted By laumars
After checking the man pages, the only advantage...
After checking the man pages, the only advantage of CPIO that I can see is compression.
If compression isn't an issue, then perhaps you're over engineering a solution (I'm a firm believer of KISS -...
Forum: Linux 08-19-2009
7,962
Posted By laumars
It's your package manager and the recommended way...
It's your package manager and the recommended way of loading / removing software from Ubuntu:
https://help.ubuntu.com/community/SynapticHowto
Forum: Linux 08-19-2009
7,962
Posted By laumars
I don't have a Ubuntu install to hand to check...
I don't have a Ubuntu install to hand to check myself, but I think it is in the software repository.

Your best bet is to load up synaptic and do a search for ncurses
27,490
Posted By laumars
I've often used cp -Ru $source $destination ...
I've often used
cp -Ru $source $destination

The -u flag only copies files if source is newer (ie 'update'), and you may already be familiar that -R means recursive (scans through subdirectories...
25,443
Posted By laumars
basically to check multiple directories, then you...
basically to check multiple directories, then you have to put your script inside a loop (so it runs the script several times - each time running it against a different directory)

The loop needs...
25,443
Posted By laumars
Sounds like you need to do some reading up on...
Sounds like you need to do some reading up on select statements ( Bourne/bash shell scripts: case statement | Bourne shell scripting | Tech-Recipes...
2,274
Posted By laumars
You might be better off using fdisk $ fdisk...
You might be better off using fdisk

$ fdisk -h
Usage: fdisk
[ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]
[ -b...
15,473
Posted By laumars
There might be an easier way (if shell scripts...
There might be an easier way (if shell scripts are getting this messy then I usually build the routines in another language, so I'm not the best authorety on the subject) but one "kill all"...
15,473
Posted By laumars
I think he only wants to exit script1 under...
I think he only wants to exit script1 under certain conditions (eg some occations exit just script2 and other times exit both scripts)
The only way I know to do this is by checking exit codes.
...
15,473
Posted By laumars
have a none-zero exit code from script2 and get...
have a none-zero exit code from script2 and get script1 to check for the exit code before proceeding.

Exit Shell Script Based on Process Exit Code - Stack Overflow...
10,711
Posted By laumars
It's in that file on my system (albeit a...
It's in that file on my system (albeit a non-standard Solaris build: SunOS 5.11 NexentaOS_20080312 i86pc i386 i86pc Solaris)


# The maximum number of concurrent unauthenticated connections to...
4,563
Posted By laumars
Nexenta (OpenSolaris kernel) + VirtualBox [weird host crashes]
I don't suppose anyone has experienced any weird host crashes in Nexenta (host) using VirtualBox 3.0.x (in headless mode)?

It seems the host stays alive (I can even type text into the box if I...
Forum: Filesystems, Disks and Memory 08-17-2009
3,505
Posted By laumars
RAM memory checker / bad lister
A bit of background
I'm running a Nexenta (OpenSolaris kernel + a number of Debian tools) server running a ZRAID of 3x 1TB SATA2 drives (essentially a RAID5 formatted in ZFS, for those who aren't...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy