Reputation
2,699
Top tag
Next privilege 3,000 Rep.
Cast close and reopen votes
Badges
4 18
Newest
 Student
Impact
~135k people reached

Apr
5
reviewed Approve tiff2pdf coloured
Apr
3
reviewed Approve Get list of subdirectories which contain a file matching a string
Apr
3
reviewed Approve Can overwritten files be recovered?
Apr
3
comment Tree with directory name and filenames
@Masi, No idea how OSx labels those binaries. If gfind refers to GNU find, then you could use that. However, -print is posix and doesn't need gfind. You'd need gfind only if you use -printf which is a GNUism.
Apr
3
reviewed Approve Understand the Route table
Apr
3
revised Tree with directory name and filenames
added 127 characters in body
Apr
3
answered Tree with directory name and filenames
Apr
3
comment Tree with directory name and filenames
If you want to simulate the behaviour you'd use find. In this case using GNUfind you could use the following find . -type f -name '*.dat' -printf '|__ %P\n'
Apr
2
reviewed Approve Why VNC not showing actual Remote Desktop
Apr
2
comment Turn list into single line with delimiter
Using your shell only while read -r ip; do printf '%s | ' "$ip"; done < file
Apr
2
comment Why there is always a root account in any OS?
@OsamaBinOmar Because if there was no separation between normal users and a root user, anybody accessing the system could access the kernel and subsequently control the hardware. You don't want that to happen do you? Especially not on a server where different users share resources. Your attempt of asking a good question is not really being successful.
Apr
2
reviewed Approve How to install chrome on unregistered redhat
Mar
26
awarded  Nice Answer
Mar
26
comment Simple flag based comparison in Linux
That is because the variable FLAG_Control=false is set an yields always to true. The false there is misleading. It is not a boolean value as you are used to other programming languages. false is just a value that initializes FLAG_Control variable and sets it to true. FLAG_Control= which is not initialized yields to false.
Mar
25
reviewed Edit What variables are valid within /etc/default/useradd file?
Mar
25
revised What variables are valid within /etc/default/useradd file?
Fixed formatting and capitals
Mar
25
awarded  Explainer
Mar
25
comment Not able to rename root user of MySQL
Well, rename user command is introduced after mysql 5.0.2 version. You can check your version from the terminal using mysql -u newroot -p -e 'select version();' I personally believe that this is the best practice to rename root user. Thus, first creating a temp user and then rename the root user from there.
Mar
24
comment How to remove a particular character after a specific word
@don_crissti. I see. I might have been reading outdated tutorials.
Mar
24
comment How to remove a particular character after a specific word
@don_crissti the -E is the flag to enable Extended regular expressions on *BSD and Mac systems. Probably -r will be more desirable in this case since it will be compatible with GNU sed. FreeBSD did also add the -r option now to remain compatible with GNU sed.