Search Results

Search: Posts Made By: al0x
20,159
Posted By al0x
I'm used to use "awk -F "[pattern]" '{print...
I'm used to use "awk -F "[pattern]" '{print $[field]}'", it's easy to use and does it's job well. What else could I use?
I only wanted to make a quick little script that shows me how far cp is....
20,159
Posted By al0x
But I need awk to cut the string (since cut can...
But I need awk to cut the string (since cut can only handle 1 char)
20,159
Posted By al0x
That's exactly what I wanted^^ I knew it...
That's exactly what I wanted^^

I knew it would be simple :wall:

Thanks!
20,159
Posted By al0x
Getting "hello" into myvar myvar="hello" ...
Getting "hello" into myvar

myvar="hello"
echo $myvar

would give me the result I want to achieve

Edit:
echo "hello world" | awk -F "world" '{print $1}'

Would give me "hello", I just want...
20,159
Posted By al0x
Pipe to awk to variable
Hi!

If I'm trying something like:
echo "hello world" | myvar=`awk -F "world" '{print $1}'`
echo $myvar
myvar is always empty :confused:

I googled for houres now and don't understand why it...
7,082
Posted By al0x
Android is a fantastic plattform IMO :) I began...
Android is a fantastic plattform IMO :)
I began yesterday getting deeper into it and am stunned by the possibilities!

I just found your Posts about Android Scripting, looks really interesting....
7,082
Posted By al0x
GPS-Tracker script [Android]
Hi UNIX-Forum!

I don't know if this is the right Forum for my question, but since Android technically is a UNIX-based system...

I have a rooted Android and a Terminal emulator and bash...
Forum: Filesystems, Disks and Memory 04-12-2011
9,411
Posted By al0x
Hey Thanks for the link But it didn't work......
Hey
Thanks for the link
But it didn't work...
I checked all superblocks I found on the disk but none still holds files from my old files :(
I tried it again with Testdisk with every option...
1,257
Posted By al0x
Oh thanks a lot I'm always forgetting that the...
Oh thanks a lot
I'm always forgetting that the output is treated as command >_>
Thanks!

And thanks for the improvement :D
1,257
Posted By al0x
Rather: not found
Hey
I have a weird "problem" here It's more out of curiosity, my script is working fine, but giving me a "pidt.sh: 7: Rather: not found" error...
#!/bin/sh
log="log/`date +%F_pidt.log`"
echo...
Forum: Filesystems, Disks and Memory 02-22-2011
9,411
Posted By al0x
Recovery of formatted ext3 partition
Hi!

I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size...
16,446
Posted By al0x
Thanks! :b: (especially for the quick answer!) ...
Thanks! :b: (especially for the quick answer!)
I would never have found that on my own :wall:
And - yeah! - it works flawless :D
Thread can be closed than! ^^
16,446
Posted By al0x
Unterminated quoted string
Hello!
I wroted a little script that should check for new updates on a server and get them if any. The problem is, every time I run it with sh, I'm getting an "script: 20: Syntax error: Unterminated...
1,134
Posted By al0x
Ok new problem: the client can only be...
Ok new problem:
the client can only be connected with UMTS. Wicd doesn't support UMTS and the only alternative I found is UMTSmon, which works fine, but can't run a script as soon as the connection...
1,134
Posted By al0x
I want that a script is run when an internet...
I want that a script is run when an internet connection is established (on a normal pc). Like when you can run a script as soon as a device is plugged in thanks to udev, just that I need it for...
1,134
Posted By al0x
Internet-"Notification"
Hello
simple question:
I want to run a script as soon as an internet connection is established. Is there an easy way to do this without checking every 10 seconds if there is/isn't a connection?...
Forum: Linux 12-02-2010
10,082
Posted By al0x
blkid says my stick is /dev/sdb1 and his fs is...
blkid says my stick is /dev/sdb1 and his fs is vfat
/proc/filesystems doesn't have vfat...
Reason enough to try it again with ext3^^
Forum: Linux 12-01-2010
10,082
Posted By al0x
Good to know! Would changing the filesystem...
Good to know!
Would changing the filesystem change anything? It doesn't matter which I'm using I just had my Stick formatted in FAT32 and leaved it like that...
As said before I will try your...
Forum: Linux 12-01-2010
10,082
Posted By al0x
Really? It worked before.. xD It's just a...
Really?
It worked before.. xD
It's just a live usb and it works if I just plug it into my computer and boot it via BIOS :p
Forum: Linux 12-01-2010
10,082
Posted By al0x
fdisk isn't implemented... sdb1 is fat32 which...
fdisk isn't implemented...
sdb1 is fat32 which is supported by the kernel.
It would really help if the ALERT! gives more information than " does not exist!" :D
I will try it again with other...
Forum: Linux 11-30-2010
10,082
Posted By al0x
I can't say if the rest works or not, but...
I can't say if the rest works or not, but mounting /dev/sdb1 somewhere did not work... Invalid Argument error :/
Forum: Linux 11-30-2010
10,082
Posted By al0x
I don't know which script produces that, it's...
I don't know which script produces that, it's part of the booting process of a Lubuntu Live USB-Stick (10.04) made with the universal USB installer. I'm not very familiar with this process...
I...
Forum: Linux 11-29-2010
10,082
Posted By al0x
Finally I got time to test your suggestion. But...
Finally I got time to test your suggestion.
But it doesn't change anything, it's still dropping to the BusyBox.
Here's everything I'm getting:
[ 2.425343] generic-usb 0003:0603:00F2.0002:...
7,704
Posted By al0x
Yeah I know I didn't knew much about perl and...
Yeah I know I didn't knew much about perl and shell scripts thats why I had a weird way to solve it, but now I know much more about shell that's why I'm not using this script anymore.
And I don't...
Forum: Linux 11-19-2010
10,082
Posted By al0x
Yeah ok, maybe it does :D But I can't tell you...
Yeah ok, maybe it does :D
But I can't tell you anything new until monday :/ And I can't test it until mondey :(
And btw thanks for helping me again Corona :D
Showing results 1 to 25 of 57

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