751 reputation
212
bio website blog.adityapatawari.com
location India
age 26
visits member for 2 years, 11 months
seen Dec 14 at 10:31

Open Source Enthusiast. Fedora Contributor. Python Lover. Learning Linux System Administration. Employed by Browserstack.com as a Cloud and Infra Engineer. Visit my website and blog to know more about me or connect with me on Linkedin.


May
27
comment Should a serious student of *nix choose a distribution that is POSIX-compliant to learn standard features well?
I think @slm has done right to not to mention Fedora or Ubuntu. While both of these distros are good for regular desktop use, Debian or Arch or CentOS can teach you much more about *nix than Fedora or Ubuntu.
May
16
comment At init, run my own script instead of the shell
Just to be clear, do you want users to have your custom shell/script as soon as they log in or am I doing some mistake in understanding the question?
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
@vonbrand yes. It was something really stupid that Ubuntu did. It ships with mawk instead of gawk. Once I installed gawk, it has started working fine.
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
that is quite possible.
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
I did try this before but it gave me an error: awk: program limit exceeded: maximum number of fields size=32767
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
@manatwork, I am using Ubuntu 12.04. I just installed gawk from the repository and now it works fine.
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
Okay. Then how come first statement is working fine?
Mar
8
comment Is it mandatory to have a variable in awk's first statement?
@Guru I have added the output of df.
Oct
10
comment Run a command on all the files in a directory tree and put the output into a variable
I am really sorry. I had an extra quote. Please try now and upvote it if it works for you.
Jan
12
comment killing processes automatically
replace gawk by awk. It won't create any difference in this case. Command will become ps| awk '{ if ($4 != "COMMAND" && $4 != "sh" && $4 != "ps") system("kill -KILL "$1) }'
Jan
12
comment killing processes automatically
inclusion of ps does not matter since it will be executed instantaneously. It'll be gone even if you don't kill it. Still you can remove ` && $4 != "ps"` from my answer below.
Jan
12
comment killing processes automatically
You'll need system command but I don't like commands like kill in gawk. I think until and unless it is absolutely necessary, execute kill manually.
Jan
5
comment How is Ubuntu based on Debian?
and it is not a little picture!
Jan
1
comment Fedora 16 ssh over the internet/home network help. Same computer ok
I want to know the permission for .ssh. In your home directory do a ls -al|grep .ssh and paste the output.
Jan
1
comment Mini ultra light linux boot on a USB key
updated answer based on the comment.
Jan
1
comment Fedora 16 ssh over the internet/home network help. Same computer ok
@chemelnucfin: I am stumped here. tell me the permission of your .ssh directory.
Dec
31
comment Fedora 16 ssh over the internet/home network help. Same computer ok
check out /var/log/secure. there must be something in there.
Dec
31
comment Fedora 16 ssh over the internet/home network help. Same computer ok
This cannot be the full output. ssh still needs to try the password based auth. Please paste the complete output till you see the prompt.
Dec
29
comment Access PgSQL executables from anywhere
click on the up arrow above the "0" which is written just before the answer. If you cannot do it then wait till you get some reputation. Although it is strange that you cannot mark the answer correct for the question you asked. :( Marking correct answer is important because it saves time of others who come looking for similar problem.
Dec
29
comment Access PgSQL executables from anywhere
If it worked then please mark the answer as correct and upvote it.