Forum Home
Press F1
 
Thread ID: 142764 2016-09-05 19:20:00 Linux Systems B.M. (505) Press F1
Post ID Timestamp Content User
1425646 2016-09-24 04:52:00 Shell scripts are the UNIX equivalent to batch files.

en.wikipedia.org

www.freeos.com
KarameaDave (15222)
1425647 2016-09-24 05:01:00 And that is why the masses won't change.

I hate command line, if linux could do everything by Gui I would probably switch most of our computers over until then it ain't happening

"Linux" can do everything by GUI, as long as someone has made a gui to do exactly what you want - the various big DE's cover most common stuff with gui tools.

The plus side of 'command line' is it's pretty much universal and you can do whatever you like, without waiting for someone to design a push-button interface (suitable for the environment and toolkits you are using) that includes all the options you want.

Windows also has lots of options and features that aren't available via gui tools.
There are also a lot more people developing stuff for niche use cases.

There's not really a lot of incentive for a volunteer developer to spend their limited time crafting a nice gui interface to replicate functionality that is already easily done with existing tools and a 5 minute read of the docs.

Of course, anyone can if they want, and the lack of a particular tool generally means no-one who can, wants to.
fred_fish (15241)
1425648 2016-09-24 05:21:00 Well that’s encouraging Fred.

I was just trying to think back to DOS and early Windows when I seem to recall writing a heap of instructions in notepad and then saving them as .bat files which in turn saved me a lot of typing.

I’m just wondering if a similar process would help those like myself, who excel at typist errors in the command line.

However, writing anything in any Programming Language is way out of my league. :crying

oooops got threads crossing.

I'll do some study.
B.M. (505)
1425649 2016-09-24 05:31:00 Bash script is the same commands you type on the cli and, yes you use a text editor to type them up and save them.

You can put a 'shebang' as the first line to describe which interpreter to use (#!/bin/bash or #!/bin/python or such not always necessary but avoids confusion) and make the file executable with a 'chmod +x myflashscript' (or rt-click -> properties -> tick the 'executable' box :) ).
fred_fish (15241)
1425650 2016-09-24 05:55:00 Yeah, batch files in Linux (aka bash scripts) are like batch files on steroids! Back in the DOS days I used to use a more advanced batch command line app called 4Dos and the Linux command line is much more powerful than that. 4Dos had some nice features which I've been able to replicate here in Linux too.

I've written quite a few scripts to do various things, especially backing up stuff using rsync which Kame mentioned earlier. I've written some small ones which I have in the Kickoff menu (KDE Start menu) which I can run just by clicking an icon. One of the most useful scripts toggles my second monitor on/off and is much faster than any gui app could do it.
Rod J (451)
1425651 2016-09-24 05:56:00 "Linux" can do everything by GUI, as long as someone has made a gui to do exactly what you want - the various big DE's cover most common stuff with gui tools .

. Where in linux Mint is the GUI to change a workgroupName please ?

Due to this thread, and deciding to "play" I've installed mint on a Old pc, also I'm in the process of making up another NAS and a free OS would be OK . Installed Samba no problems .

BUT trying to change the workgroup is a PITA !! Mainly because commands given in one distro are different to another, mainly what editors . Ubuntu meant to use gedit, Kbuntu uses "kate", Mint I tried gedit ( which all the forms and instructions say to use) - Errrrrrror no such editor, so must be using something else again ---------geeeeeeessssss Make their minds up what they are going to use please .

At least in windows & iOS its a couple of clicks in a GUI, change workgroup name to what ever you want - reboot -Done .

BTW Fred :) , you asked for an example of a dud answer . One I just found when searching for the correct commands to change the workgroup-- Not exactly helpful is it = epic fail :)


There is an issue with Samba, that Windows has regarding Workgroup naming . We have found that just leaving it as "WORKGROUP" . Resolves a lot of those problems . What should be a simple task is made into a mission :(
wainuitech (129)
1425652 2016-09-24 06:08:00 I have a gui app installed here to configure samba: the package is called system-config-samba ... should be available for most Ubuntu based distros. It lets you change the workgroup name really easy too. Rod J (451)
1425653 2016-09-24 06:26:00 @B.M. and others: it appears that the nz.archive.ubuntu.com server is offline currently so updates will fail with various error messages. This happens every now and then, last time I recall was about a year ago. Rod J (451)
1425654 2016-09-24 06:28:00 Struth, the answers are coming faster than the questions. :eek:

Well you guys have been doing so well getting Mint up and running, 100% success rate which is unbelievable, so I just thought of something difficult. (for me anyway)

I have a Samsung GT-S5300 mobile and it connects to Windows via a Samsung programme called Kies.

Probably most of you knew that anyway, (about Kies) which is a prick of a programme even on a good day. Well it is here.

So, seeing there is a zillion Samsung Mobiles in service I figured seeing I can’t find a Samsung product for Linux, somebody must have written one, given the numbers that use each product.

So, whilst I’m reading these Links, (Thank you Dave) that’s your homework.

How do I connect my Samsung Mobile to Mint to access the address book – Pictures – Messages etc.? :thumbs:
B.M. (505)
1425655 2016-09-24 06:52:00 I have used 'KDE Connect' successfully but that is for KDE integration - don't know about Mint/Cinnamon sorry, their wiki/forums would be the place to look. fred_fish (15241)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25