bash

  1. N

    Values rotation in array with bash

    Hello I created a little script that allow to make a rotation of values in an array. The goal was to shift the values to the right and that the last value of the array became the first value in order to create a rotation. The purpose of the exercice was to do it without using a temporary...
  2. C

    Where to learn more about BASH?

    I've come through the advanced tutorial Programming with BASH and I am quite interested in it. So where and how can I learn BASH programming systematically and comprehensively? Thanks in advance!
  3. A

    Passing complier output to bash

    This is one of those "it works fine until...". Background: I am executing bash script to build a C++ library. From options passed to the script it supposedly verify that selected crosscomplier is OK to use. To aid development the compiler is optioned with " -v -V -qversion " in " do...
  4. C

    bash-based Archlinux installer: Arc

    I've been working on a bash-based installer for archlinux. https://github.com/c1ph3r8472/Arc I thought I'd post it here for any who may want to try it / perhaps suggest improvements. The intent is for it to be infinitely reconfigurable via a single config file, thus making reinstallation...
  5. Rob

    bash or fish for shell?

    I've used bash for the past 20 years or so for my go-to shell because it's the default shell on most linux distributions - at least the ones i've used professionally for work. I wanted to make sure whatever I did on my workstation, i'd be able to mimic across the farm. Lately, since I now do...
  6. S

    could anyone help me out??

    if linux systems will not consider anything after # sign in the scirpt, then how come #!/bin/bash works?? #!/bin/bash starts with # sign it shouldn't be consider right??but if the #!/bin/bash is not included in the scirpt its not working??? explain me pls......
  7. N

    Automate scripts

    Hi i have a Ethereum node running and mining on a terminal in linux. i want to create a script that will start up the node.sh roughly 2 minutes after startup. my scripts is in the home/chainskills/private/startnode.sh. i want this to be executed after startup. I have barely any knowledge of...
  8. Alboy1975

    Complete linux noobie, ordered secondhand laptop (what i need to know)

    Hi I am awaiting delivery of the below laptop, which I've picked up for £170: https://www.ebay.co.uk/itm/Lenovo-Thinkpad-Ultrabook-Helix-11-6-Touch-i7-3667U-8GB-256GB-SSD-Windows-10/153120834786?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 I have been around computers most of my...
  9. blackneos940

    Does Anyone Know How To Link A Qt Button With A Terminal Command.....? :3

    I was wondering this today, and I'm not sure how..... :\ Keep in mind that I'm still pretty new to Qt, and might need a complete File, #includes, int main(), and all..... :3 I wanna do all this from Nano, so I don't have to use Qt Creator, if possible..... :3 Thank you SO much...
  10. Rob

    Learning go lang

    So, Im pretty profficient in bash scripting.. my plan was to merge into python, then maybe go... Or do you think I could jump right into go from bash? Any pointers in learning to code in go?
  11. LordTrell

    beginner bash writing

    Hello! i am new to bash, need assistance with a script for some assignment:... A shell script to list out the contents of any directory, and indicate for each file (including invisible ones) whether the file is a directory, a plain file, and permissions such as executable ect i can list out...
  12. iridakos

    goto - a bash utility to navigate to aliased directories

    Hello everybody, I published a bash utility named goto. The tool allows users to navigate to directories using an alias that was previously explicitly defined. Its best feature is the autocomplete functionality making navigation pretty fast. Example A user may register a directory with...
  13. JasKinasis

    note v1.0 released today!

    Hey all. After this conversation the other day, I finally got around to cleaning up, documenting and releasing my note-management application. 'note' is a very simple application written in shell-script. It's a personal, pet-project I've been developing and using at home and at work for a...
  14. iridakos

    Creating a bash completion script

    Hello everybody, I just published a tutorial for creating bash completion scripts. Link: https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial Thanks, Lazarus
  15. Rob

    What shell do you use?

    I stick with bash as I'm in various servers throughout the day and know it's installed and identical to my default install(s). If I worked on just a few servers, i'd probably look into other shells. You?
  16. S

    Preventing .bash_history to be excuted inadvertantly

    I stumbled upon the worst line i've ever type: [[email protected]]> . .bash_history Should'nt there be some kind of protection for that file not to be confused with .bashrc ? by chance, i quickly hit Ctrl-C and verify i had not break anything. Any historical command that points by full path is...
  17. F

    How change path autostart in console

    My console start /home/kk I wrote script bash #!/bin/bash/ cd /C/Users/kk/Desktop but nothing happens, Why?
Top