Root Access

For all you Super Users out there. You have backups, right?
May 25, 2018 03:57
Can't wait for web assembly so I can do front end web apps in C
May 25, 2018 03:56
yup
May 25, 2018 03:50
idk, C is my primary language, and I think I'll have a better time with it than shell scripting
May 25, 2018 03:44
@CircusCat I'll totally look into C shell
May 25, 2018 03:44
damn, another shell script
May 25, 2018 03:43
-_- why couldn't the shell just understand C?
May 25, 2018 03:43
is there a quick way to rename *.png to *.jpg?
May 25, 2018 03:42
I just did them by hand, but forget to rename the extention
May 25, 2018 03:42
okay, I'll learn scripting later
May 25, 2018 03:38
they are just random screenshots that are named by timestamp, like:"Screenshot from 2018-05-24 23-02-42"
May 25, 2018 03:35
:(
May 25, 2018 03:35
now it's gone
May 25, 2018 03:35
Oops, the script renamed itself and failed.
May 25, 2018 03:34
thanks guys :)
May 25, 2018 03:34
okay I fixed it. I needed semicolon after do
May 25, 2018 03:32
"$file" ?
May 25, 2018 03:31
unexpected token near mv
May 25, 2018 03:30
But this has an error near mv
May 25, 2018 03:30
n=1
for file in * do
	mv $file "2 ($n).jpg"
	N=$((N+1))
done
May 25, 2018 03:30
I'm trying to rename a bunch of files in my directory to names such as 2 (1).jpg 2 (2).jpg .. .
May 25, 2018 03:29
Sorry for interrupting your drug conversations but. ..
May 25, 2018 03:29
Okay, great.
May 25, 2018 03:28
@JourneymanGeek Your tone sounds sarcastic, but I can't be sure.
May 25, 2018 03:27
I'm not sure whether you're serious
May 25, 2018 03:26
I'll take that as a yes.
May 25, 2018 03:26
hello, can I get linux help here?
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
May 25, 2018 03:23
but I keep getting the error unexpected token near `mv'
May 25, 2018 03:23
n=1
for file in * do
	mv $file "2 ($n).jpg"
	N=$((N+1))
done
May 25, 2018 03:22
I'm writing a shell script to rename a bunch of files numerically
May 25, 2018 03:22
hi
 
Dec 4, 2015 16:04
That makes sense. So when I'm buying an $100 ETF share, I'm actually buying an ~$99 actual value share but with the fee included... right?
Dec 4, 2015 14:29
Quick question guys. How do ETF get their fees. For example, and ETF Stock costs $100, and their fee is 1%. How do they take that 1%? If I sell the ETF Stock later for $110, do I only get $108.9? I would think that I would get the full value of the stock. Is that wrong?