Unix/Linux

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Tech Support »» Unix/Linux
  • Testing for a pattern in a file

    Greetings,In ksh, I want to test if a pattern exists in a file, e.q. inpseudocode:if [[ grep string1 file1 ]]do one thingelsedo something elseHow would I accomplish this? Thanks in advance....

    8 answers | 248 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • printf doesn't show any output under cygwin bash shell

    HiWhy trying to print out messages using printf does't produce any outputunder bash/cygwin (it works though under cmd.exe).Printing with "cout << " works anywhere. Is there something I can fixon my PC (WinXP) or it's a known problem?I started to see the problem when my clisp outp...

    4 answers | 510 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • sda: Write Protect is on

    Hi,I played around with my USB flash storage (PRETEC 256 MB).It was made to boot Win98 Win95 into dos mode successfullyon my (quite modern) notebook (Toshiba Libretto U100)using a combination of a USB floppy drive, boot-floppies,dd(1), format /s, sys, fdisk, io.sys, msdos.sys, command.com, et al...

    4 answers | 1419 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • make all lines the same length only with busybox commands

    Hi,I want to make all lines the same length.e.g.abcabcdeababcdefgabcabcabcabcdeababcdefgabcabcI only have a busybox with the following commands:BusyBox v1.01 (2005.11.20-20:04+0000) multi-call binaryUsage: busybox [function] [arguments]or: [function] [arguments]BusyBox is a multi-call binary tha...

    5 answers | 1267 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • VERY basic linux system

    Hey folks, Id like to create a linux-based S, but change fewthingsyou guys tell me how possible this is:#1 - I want to get rid of the filesystem heirarchy. Id like to modifyit to use a volume system, similar to Amiga S, or even DS wherevolumes exist as names "A: or SYSTEM: or DRIVE0:"#2 - I want...

    29 answers | 859 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Print/list arguments in a c shell

    Hi! I am new to shell scripting and am trying to take a class in it.I have most of my script written (and it works! Yay!) but I'm havingtrouble dealing with one part of it. The instructor wants "thereshould be no more than 10 arguments in list, you should only print outthe first 8 arguments...

    10 answers | 477 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Adding a file to an existing archive

    Is there a way to add a file to an existing tarred and zipped archivewithout first extracting it and then tarring and zipping it again?...

    2 answers | 158 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Howto : rename files dir/*.asc to dir/*.asc.sent

    Hi everybody,How can i change several files extensions at once ?Thanks in advance...

    7 answers | 116 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • Dial-UP problem Xandros3.0 deluxe and Mandrake 10.1

    Hi all,I'm YAnU, Yet Another new User.Recently I went into a short research:1. RH 8.0,2. Mandrakelinux 10.1 community, and3. Xandros 3.0 deluxe, this one's Debian.4. modem ISDN ext on comm 1.1. kppp works nice ('internet network device' too) on RH8, started Mozillamail, for t...

    0 answers | 1867 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • How to set a variable to ""

    Hi,I am trying to set a variable my_var in tcsh to "[abc]". To check if itis working I'm trying to echo it back, but I can't get it to work:>set my_var = "\[abc\]">echo $my_varecho: No match.>set my_var = \[abc\]>echo $my_varecho: No match.Does anyone know how to do it?Best...

    3 answers | 442 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • NTFS driver write reliability

    I have a computer where I have a large NTFS partition that I use forstoring video files I occasionally need to manipulate with Win tools. Atthe moment I have this mounted ro in Linux, so exchanging files is a bitinconvenient. I've read that Linux NTFS write support is imperfect, butI was wo...

    16 answers | 773 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

  • NTFS driver write reliability

    I have a computer where I have a large NTFS partition that I use forstoring video files I occasionally need to manipulate with Win tools. Atthe moment I have this mounted ro in Linux, so exchanging files is a bitinconvenient. I've read that Linux NTFS write support is imperfect, butI was wo...

    0 answers | 773 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

SPONSORED
QUESTION
SPONSORED
EMSDN