<SOLVED>Hey! is it ok to get answers if I can't get a homework done?

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
kernkraftx

<SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

Hello everybody, I changed forums because well... I guess I was to green, but I was wondering if I can ask questions and sometimes get answers to my bash scripting because the way I learn is if I can't find the answer is copy and cut out and understand how everything works, then I understand... would it be ok to do that? or will it anger people like it did on another forum, if so, i'll stick to the frenchies then.. :( sorry if it ''may sound stupid to anyone") as a question, I do apologize again, I don't mean to be annoying, hopefully I am welcomed here, and yes I read the rules! (i'm a bit sensitive to criticism) :S.

alexei
have a nice day!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by Fred Barclay »

Welcome,kernkraftx.

We're not exactly a homework forum, but if it's something we know how to help with I'm sure someone will step up.
That being said, make sure you have your teacher's permission to get online help first. ;)
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
Chiefahol

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by Chiefahol »

You probably should.

People don't read books until they find answers, that's a world that is dead and gone.

They use the internet to get the solution ASAP, even if it involves talking to random people online.

Posting your homework here is kind of like training for the real world. :lol:
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by Reorx »

To quote George Takei -
OH MY!
:lol:
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
kernkraftx

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

emmm yup, it is unfortunately.... well don't kill me with your comments tough.... I mean I can go back to the french one if it angrys you guys... :S
User avatar
Moem
Level 22
Level 22
Posts: 16230
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by Moem »

Honestly, that will mostly depend on your own attitude.

Still, this was a good remark:
Fred Barclay wrote:make sure you have your teacher's permission to get online help first. ;)
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
xdicey
Level 4
Level 4
Posts: 469
Joined: Wed Sep 16, 2015 2:42 pm

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by xdicey »

:) Poor kid.
-QUAD CORE Intel Core i7-4700MQ CPU (-HT-MCP-) 2.40GHz x4
-16GB RAM, 1 TB SSHD
-Graphics Card: Intel 4th Gen Core Processor Integrated Graphics Controller
kernkraftx

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

Ya, I have only a positive attitude to learn! And teacher said is ok with using help online ( its continuing educaton admin program so intense) :D, thanks for the support! :D :mrgreen:
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by Fred Barclay »

Well then, fire away! :D
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
Habitual

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by Habitual »

LOTs of "answers" in http://www.linuxquestions.org/questions ... 175573159/ and the thread is marked as [SOLVED].

Another homework question or the same one?

If you don't understand the concepts, any answers will be a confusing ones.
Knowledge without application is memorization.
Knowledge by application is called Experience.

Have a look at Various Linux Guides I have collected

Don't be surprised if lots of folks point you to the web for explanations, that is where most of us learned them.
kernkraftx

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

I don't want to go back there :(... But Habitual, that is how I learn, my math problems always had answers in the end of the book, then I would try and solve the problem until I had the right answer and in the process I learned, voila! I finally understood the problem, or found other ways to solve the problem, I have super good memory and thanks to it, this memory helps me rewrite the script and then understand what i'm I doing, ( don't punch me please :| ). But thanks for the guides they help :D.
Habitual

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by Habitual »

Writing the script as you refer to it could be written and should be written as pseudo-code,
much like a recipe.

Short steps in English (or native French?) that explain the problem is oh-so-easy steps.
Think of pseudo-code as a "recipe".
However, if we had to learn how to mill flour each time we wanted to make Chocolate Chip cookies, we'd never have cookies. :)

Most of all, have Fun!
Mute Ant

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by Mute Ant »

My LMDE2 has nearly 200 working examples of scripted code, although the system uses sh not bash. You just soak-up what a program should look like when the same structure flies past over and over again.

Code: Select all

/bin/bzmore
/bin/bzdiff
/bin/setupcon
/bin/zless
/bin/zforce
/bin/unicode_start
/bin/zmore
/bin/bzgrep
/bin/zegrep
/bin/zgrep
/bin/fgrep
/bin/lesspipe
/bin/zcat
/bin/bzexe
/bin/egrep
/bin/znew
/bin/zcmp
/bin/which
/bin/gzexe
/bin/zdiff
/bin/gunzip
/bin/zfgrep
/bin/uncompress
/bin/red
/usr/bin/nroff
/usr/bin/ecryptfs-setup-swap
/usr/bin/ps2ascii
/usr/bin/os-prober
/usr/bin/lft.db
/usr/bin/mxtar
/usr/bin/sensible-browser
/usr/bin/catchsegv
/usr/bin/gslp
/usr/bin/gdbtui
/usr/bin/kde4
/usr/bin/zipgrep
/usr/bin/igawk
/usr/bin/qvlc
/usr/bin/start-pulseaudio-x11
/usr/bin/pdf2ps
/usr/bin/foo2hiperc-wrapper
/usr/bin/exifautotran
/usr/bin/mcheck
/usr/bin/dpkg-maintscript-helper
/usr/bin/gvfs-less
/usr/bin/install-printerdriver
/usr/bin/mintstick
/usr/bin/mate-services-admin-pkexec
/usr/bin/ps2epsi
/usr/bin/traceproto.db
/usr/bin/sensible-editor
/usr/bin/poff
/usr/bin/lodraw
/usr/bin/uz
/usr/bin/select-editor
/usr/bin/font2c
/usr/bin/wine-wrapper
/usr/bin/lspgpot
/usr/bin/localc
/usr/bin/mkfontdir
/usr/bin/torify
/usr/bin/foo2qpdl-wrapper
/usr/bin/openbox-session
/usr/bin/apt-key
/usr/bin/ps2pdf12
/usr/bin/linux-boot-prober
/usr/bin/ps2pdfwr
/usr/bin/gettextize
/usr/bin/synaptic-pkexec
/usr/bin/gsdj500
/usr/bin/ecryptfs-recover-private
/usr/bin/wftopfa
/usr/bin/sensible-pager
/usr/bin/rvlc
/usr/bin/mcomp
/usr/bin/mate-time-admin-pkexec
/usr/bin/savelog
/usr/bin/ecryptfs-umount-private
/usr/bin/im-launch
/usr/bin/ecryptfs-rewrite-file
/usr/bin/foo2zjs-pstops
/usr/bin/c99-gcc
/usr/bin/bashbug
/usr/bin/ps2pdf14
/usr/bin/rarian-sk-install
/usr/bin/lorder
/usr/bin/rarian-sk-get-extended-content-list
/usr/bin/update-mime-database
/usr/bin/ps2ps
/usr/bin/routef
/usr/bin/mate-wm
/usr/bin/apturl
/usr/bin/prezip
/usr/bin/gettext.sh
/usr/bin/xdg-open
/usr/bin/torsocks
/usr/bin/pf2afm
/usr/bin/padsp
/usr/bin/wajig
/usr/bin/dvipdf
/usr/bin/x11perfcomp
/usr/bin/unopkg
/usr/bin/xdg-icon-resource
/usr/bin/foo2xqx-wrapper
/usr/bin/pon
/usr/bin/gsdj
/usr/bin/gacutil
/usr/bin/rarian-sk-get-content-list
/usr/bin/precat
/usr/bin/ecryptfs-mount-private
/usr/bin/7z
/usr/bin/eps2eps
/usr/bin/xdg-mime
/usr/bin/start-pulseaudio-kde
/usr/bin/tgz
/usr/bin/ecryptfs-verify
/usr/bin/lobase
/usr/bin/ncurses5-config
/usr/bin/plog
/usr/bin/loweb
/usr/bin/m2300w-wrapper
/usr/bin/ecryptfs-setup-private
/usr/bin/ps2pdf13
/usr/bin/7zr
/usr/bin/foo2oak-wrapper
/usr/bin/user-setup
/usr/bin/perldoc
/usr/bin/mk_modmap
/usr/bin/xdg-desktop-icon
/usr/bin/wine
/usr/bin/printafm
/usr/bin/foo2hbpl2-wrapper
/usr/bin/printer-profile
/usr/bin/ncursesw5-config
/usr/bin/smbtar
/usr/bin/traceroute-nanog
/usr/bin/lowriter
/usr/bin/xdg-desktop-menu
/usr/bin/pfbtopfa
/usr/bin/unicode_stop
/usr/bin/rarian-sk-get-scripts
/usr/bin/xdg-user-dir
/usr/bin/nvlc
/usr/bin/gpg-zip
/usr/bin/intel_gpu_abrt
/usr/bin/routel
/usr/bin/amuFormat.sh
/usr/bin/dehtmldiff
/usr/bin/rstart
/usr/bin/foo2lava-wrapper
/usr/bin/xdg-screensaver
/usr/bin/ps2lexmark
/usr/bin/mate-network-admin-pkexec
/usr/bin/run-with-aspell
/usr/bin/rgrep
/usr/bin/ssh-copy-id
/usr/bin/grub-kbdcomp
/usr/bin/vorbistagedit
/usr/bin/svlc
/usr/bin/pdf2dsc
/usr/bin/mate-shares-admin-pkexec
/usr/bin/lomath
/usr/bin/scp-dbus-service
/usr/bin/gdb-add-index
/usr/bin/startcaja
/usr/bin/gslj
/usr/bin/lofromtemplate
/usr/bin/foo2hp2600-wrapper
/usr/bin/pphs
/usr/bin/system-config-printer-applet
/usr/bin/xdg-email
/usr/bin/ssh-argv0
/usr/bin/gsbj
/usr/bin/7za
/usr/bin/c89-gcc
/usr/bin/startx
/usr/bin/xdg-settings
/usr/bin/ps2ps2
/usr/bin/cvlc
/usr/bin/pm-is-supported
/usr/bin/gst-feedback-0.10
/usr/bin/rstartd
/usr/bin/neqn
/usr/bin/loimpress
/usr/bin/lsinitramfs
/usr/bin/ps2pdf
/usr/bin/ecryptfs-find
/usr/bin/foo2zjs-wrapper
/usr/bin/system-config-printer
/usr/bin/gsnd
/usr/bin/gcore
/usr/bin/loffice
/usr/bin/pdfopt
/usr/bin/ecryptfs-migrate-home
/usr/bin/preunzip
/usr/bin/foo2slx-wrapper
kernkraftx

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

May the force be with you habitual, thank you for the great suggestions!!!
killer de bug

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by killer de bug »

Chiefahol wrote: People don't read books until they find answers, that's a world that is dead and gone.
I don't agree. I still take a huge pleasure to read good books. Especially the paper editions.
killer de bug

Re: Hey! is it ok to get answers if I can't get a homework done?

Post by killer de bug »

kernkraftx wrote:Ya, I have only a positive attitude to learn!
Well, until now and after reading the thread on the other forum, this is not the case.

Programming is easy: you type something, you run it, and you immediately see if the result is ok or not. Trial and error.
Go piece by piece. Display everything. Check every steps. Don't move to the next step until the current one is working.

Ah, and I almost forgot: no drama on this forum. Thanks. :wink:
PcMojo

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by PcMojo »

I've always found, especially with computers, it helps to hack around and figure things out more than having somebody just give you the answer. If you use IRC, you can get help in real time (Freenode has a few rooms for bash, linux, & general programming). You may want to tell them you are a student and that you don't want the answer, just hints & nudges in the right direction. When you figure it out, the concept seems to stick with you much longer, at least in my experience with programming. One good thing is that since bash & CLI are tied to Linux & FOSS, there are many free manuals & tutorials.


Good luck!
ganamant
Level 4
Level 4
Posts: 384
Joined: Sun Mar 29, 2015 4:08 pm

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by ganamant »

Not exactly an answer to your post, but I suggest you get yourself a copy of Learning the Bash Shell, O'Reilly. Even an old edition will do, and you can find them used online for a few bucks.
kernkraftx

Re: <SOLVED>Hey! is it ok to get answers if I can't get a homework done?

Post by kernkraftx »

what... there was no drama, everybody all of a sudden just threw everything at me when i'm a noob and needed really help (criticizm withouth understanding), anyway il go look at the french forums. But Thanks!
Locked

Return to “Scripts & Bash”