I want update my linux in one shell but by default wget or axel in updater use all the bandwidth.
How can I limit the speed in this shell?
I want other shells to have a fair share, and to limit everything in that shell – something like a proxy!
I use Zsh and Arch Linux.
I know, I asked already 2 other question about shell in a very short time, but I just read something interesting, and this could resolve all my problem.
Source: Difference between bash and sh
ABck to the question: If you have /bin/sh as a link to bash, then bash will not behave the same when called as /bin/sh as it does when called as /bin/bash.
So I think i got this down but i just wanted to make sure.
OK:
Login shell creates Bash shell.
I'm looking for suggestions around the notion of securing a Linux host in 2013...
Historically I've used aspects of the following but it's been a while since I've thought about these matters and it may be time to shore up those defenses again!
Securing a Linux host:
Disable all insecure protocols (telnet, pop, etc) and restrict shell access to ssh2.
Disable root remote log into the shell.
Limi
How to limit bandwidth speed from a router for a devices on a network ?
There are several devices accessing the internet thru a wireless network. I cannot change settings directly on the client-computers, but can have full access to the router.
How may I know if a script is either written in bash or sh?
The first line of the script mean nothing, since on Linux, bash script has this line:
#!bin/sh
Actually, there are many distribution where bin/sh is bash (maybe a bin/sh is a link to bin/bash in those distro), and not bourn shell.
From the book Advanced Programming in the Unix environment:
Linux uses the Bourne-again shell for its default shell.
How can I find out whether a script is written in bash or sh?
The first line of the script is not helpful here, since on Linux, bash scripts have this line:
#!bin/sh
Actually, there are many distribution where bin/sh is bash (maybe bin/sh is a link to bin/bash in those distributions), and not Bourne Shell.
I am trying to determine the location of bash interpreter on my Solaris system and I am a bit confused. When I type:
echo $SHELL
The resulting path is:
/bin/bash
And when I type:
which bash
I get:
/usr/bin/bash
Can anyone please explain this discrepancy?