Reputation
20,452
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
1 46 64
Newest
 Enlightened
Impact
~1.7m people reached

1d
comment How to get numbers of specified (range of) length from string with grep?
You are trying to use extended regex. You need the -E flag for grep.
1d
comment How to compare two tables and find the difference between in Linux using shell script?
Sounds like something that should be done in SQL, not shell scripting.
2d
comment systemd service failing
Does the service log somewhere other than stdout?
Apr
26
comment can anyone assist me in what this code does?
My version of more displays "******** /bin/ls: Not a text file ********" instead of junk.
Apr
26
comment can anyone assist me in what this code does?
It does nothing due to a syntax error. What it's trying to do can be simplified to just more *
Apr
23
comment Create HISTFILE in subshell
Yes, it seems that -c is the reason for that. Try: bash -i <<< "somecommand"
Apr
23
comment Create HISTFILE in subshell
The subshell is not an interactive shell.
Apr
23
comment Variables of integer type in Bash?
The former is locally scoped, the later is not.
Apr
23
comment Why is netstat deprecated?
I agree that ss feels a bit clunky compared to netstat, but ip has always seemed way better than ifconfig (just an opinion).
Apr
23
comment Removing entire line with sed not working?
This is your second post today regarding parsing xml with regex. See the following: stackoverflow.com/a/1732454/1032785
Apr
23
comment How to apply an awk script to multiple files in one folder using a loop
Are you using bash? That attempted loop syntax doesn't look very similar to bash, maybe csh?
Apr
23
comment Accessing array index variable from bash shell script loop?
Also note that you basically never want "${array[*]}" instead of "${array[@]}". Using * instead of @ more or less treats it as a string instead of an array.
Apr
17
comment Docker container with Samba exits without any message
What happens if you run a shell in the container and then execute that command manually?
Apr
17
comment Disable user shell for security reasons
@javier in that case you can use a restricted shell such as rssh.
Apr
17
comment Debian does not recognize broadcom wireless (BCM43602) as wlan0 interface
wiki.debian.org/brcm80211
Apr
5
comment Can't install anything cause “printer-driver- … unmet dependencies”
Looks like you are mixing releases or added repositories designed for other OS releases. Your broken fontconfig appears to be because the API changed but the soname didn't get bumped.
Apr
1
comment How do I install Python in Linux with no Internet access?
Do you need to do it while blindfolded also?
Mar
31
comment how to install .git file?
@Tarek What do you mean by install? Install the application it contains? That will vary greatly by what the code is.
Mar
30
comment Does `reboot` go through GRUB?
apt-get upgrade can regenerate grub configs, depending on which packages are upgraded.
Mar
10
comment Deduplicating Bash Brace Expansions
zsh has the same behavior.