/dev/chat

General discussion for unix.stackexchange.com. If you have a q...
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
Aug 13, 2016 08:06
anybody online here now?
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Sep 10, 2016 08:27
I have installed Linux Mint 18 and wireless drivers also, but NetworkManager cannot create wireless hotspot
Jul 17, 2016 11:45
o/
Jul 17, 2016 11:45
hello people
Jul 16, 2016 08:22
how can you tell if a user has been active at the terminal recently
Jul 16, 2016 08:22
hello guys
Jul 12, 2016 07:42
is there any command line way to set preferred netowrk?
Jul 12, 2016 07:41
oh
Jul 12, 2016 07:41
who got selected to be AU moderator?
Jul 12, 2016 07:37
oops there is a spelling mistake in this video :-p
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?
Jul 12, 2016 07:36
-D
Jul 12, 2016 07:34
hello o/
Jul 4, 2016 16:12
anyway I am in no mood to debate coz I thought that must be a genuine reason.
Jul 4, 2016 16:11
that a function that treats dir different than regular files
Jul 4, 2016 16:10
couldn't they add feature to copy directory as well ?
Jul 4, 2016 15:59
why?
Jul 4, 2016 15:59
cp command does not copy directory by default
Jun 14, 2016 10:33
or where to vote?
Jun 14, 2016 10:32
how to vote?
May 28, 2016 11:04
+1
May 28, 2016 11:01
can we install Ubuntu in GPT partition table without UEFI ?
May 28, 2016 11:00
@ParanoidPanda have you worked with nodejs ?
May 28, 2016 10:59
what happened to your roof ? LOL
May 28, 2016 10:59
heh
May 28, 2016 10:58
whats up?
May 28, 2016 10:58
hi @ParanoidPanda
May 17, 2016 09:41
bye
May 17, 2016 09:40
I have figured out and commented too, now I will find the solution too
May 17, 2016 09:40
I will
May 17, 2016 09:40
ok
May 17, 2016 09:38
@terdon plus systemd complains anyway
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
May 17, 2016 09:35
Ok
May 17, 2016 09:35
@terdon your answer to unix.stackexchange.com/q/258544/52733 needs update for newer gnome
May 17, 2016 09:34
@terdon that looks great for my usage
May 17, 2016 09:33
will try
May 17, 2016 09:30
am I clear now?
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
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
May 17, 2016 09:26
one sec
May 17, 2016 09:25
otherwise take them all as is
May 17, 2016 09:25
if user types on 4 april then I need to process the date
May 17, 2016 09:24
on date is optional
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]
May 17, 2016 09:20
I tried it this way but did not work: sprunge.us/NAVO
May 17, 2016 09:20
command line arguments
May 17, 2016 09:20
$ bash script hello world
May 17, 2016 09:17
can anyone please tell me how can I print all command line arguments using for (( )) do; done ?