Stack Exchange
log in
users (20)
rooms (28)
faq
Alex Jones
general
recent
conversations
/dev/chat
General discussion for
unix.stackexchange.com
. If you have a q...
2
Edward Torvalds
Nov 25, 2018 16:26
@RuiFRibeiro can you please explain why you keep editing my question and rolling back my edits to my question?
unix.stackexchange.com/posts/476843/revisions
edward torvalds
Aug 13, 2016 08:06
anybody online here now?
Ask Ubuntu General Room
Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
4
edward torvalds
Sep 10, 2016 08:27
I have installed Linux Mint 18 and wireless drivers also, but NetworkManager cannot create wireless hotspot
edward torvalds
Jul 17, 2016 11:45
o/
edward torvalds
Jul 17, 2016 11:45
hello people
edward torvalds
Jul 16, 2016 08:22
how can you tell if a user has been active at the terminal recently
edward torvalds
Jul 16, 2016 08:22
hello guys
edward torvalds
Jul 12, 2016 07:42
is there any command line way to set preferred netowrk?
edward torvalds
Jul 12, 2016 07:41
oh
edward torvalds
Jul 12, 2016 07:41
who got selected to be AU moderator?
edward torvalds
Jul 12, 2016 07:37
oops there is a spelling mistake in this video :-p
edward torvalds
Jul 12, 2016 07:36
I have two ethernet cable connected to my computer I want to use internet from second cable but I cant what to do to set second ethernet as default?
edward torvalds
Jul 12, 2016 07:36
-D
edward torvalds
Jul 12, 2016 07:34
hello o/
edward torvalds
Jul 4, 2016 16:12
anyway I am in no mood to debate coz I thought that must be a genuine reason.
edward torvalds
Jul 4, 2016 16:11
that a function that treats dir different than regular files
edward torvalds
Jul 4, 2016 16:10
couldn't they add feature to copy directory as well ?
edward torvalds
Jul 4, 2016 15:59
why?
edward torvalds
Jul 4, 2016 15:59
cp command does not copy directory by default
edward torvalds
Jun 14, 2016 10:33
or where to vote?
edward torvalds
Jun 14, 2016 10:32
how to vote?
edward torvalds
May 28, 2016 11:04
+1
edward torvalds
May 28, 2016 11:01
can we install Ubuntu in GPT partition table without UEFI ?
edward torvalds
May 28, 2016 11:00
@ParanoidPanda have you worked with nodejs ?
edward torvalds
May 28, 2016 10:59
what happened to your roof ? LOL
edward torvalds
May 28, 2016 10:59
heh
edward torvalds
May 28, 2016 10:58
whats up?
edward torvalds
May 28, 2016 10:58
hi @ParanoidPanda
edward torvalds
May 17, 2016 09:41
bye
edward torvalds
May 17, 2016 09:40
I have figured out and commented too, now I will find the solution too
edward torvalds
May 17, 2016 09:40
I will
edward torvalds
May 17, 2016 09:40
ok
edward torvalds
May 17, 2016 09:38
@terdon plus systemd complains anyway
edward torvalds
May 17, 2016 09:38
@terdon probably so, I don't know about GDM, but it worked in GNOME 3.18 and not it is not working in GNOME 3.20.1
edward torvalds
May 17, 2016 09:35
Ok
edward torvalds
May 17, 2016 09:35
@terdon your answer to
unix.stackexchange.com/q/258544/52733
needs update for newer gnome
edward torvalds
May 17, 2016 09:34
@terdon that looks great for my usage
edward torvalds
May 17, 2016 09:33
will try
edward torvalds
May 17, 2016 09:30
am I clear now?
edward torvalds
May 17, 2016 09:29
@terdon if you will look at my code, I am access i th argument and at same time i + 1 the arg too
edward torvalds
May 17, 2016 09:27
so I was thinking:
for (( i=1; i<=$#; i++))
do
if [ "${$i}" = "on" ]
then
let i++
# process the next argument as date and exit
fi
done
edward torvalds
May 17, 2016 09:26
one sec
edward torvalds
May 17, 2016 09:25
otherwise take them all as is
edward torvalds
May 17, 2016 09:25
if user types
on 4 april
then I need to process the date
edward torvalds
May 17, 2016 09:24
on date is optional
edward torvalds
May 17, 2016 09:24
that is Ok but I have a situation where the usage of my script is: $ add some words [on date]
edward torvalds
May 17, 2016 09:20
I tried it this way but did not work:
sprunge.us/NAVO
edward torvalds
May 17, 2016 09:20
command line arguments
edward torvalds
May 17, 2016 09:20
$ bash script hello world
edward torvalds
May 17, 2016 09:17
can anyone please tell me how can I print all command line arguments using for (( )) do; done ?