2,328 reputation
1514
bio website linuxquestions.org
location
age
visits member for 2 years, 2 months
seen 45 mins ago

linux geek, foodie, health-nut, jack of all trades and master of none :)


Dec
9
comment give group permissions to specific device
You forgot to mention which distro you're on. On most I've used in the past I'd use the udev-rules that trigger the creation of the device-node and have them assign group-ownerships as well as creating it.
Dec
2
reviewed Approve how to capture and see packet contents with tcpdump
Nov
17
reviewed Approve syntax error in conditional expression
Nov
17
reviewed Approve Removing mulitple extensions in chrome
Nov
13
revised Script to see if user has logged off
code tags, indentation
Nov
11
comment How do I force a command to be run on local login?
I don't have a debian box here to play with, but I'll hazard a guess and say their duosecurity.com/docs/duounix#ubuntu will work. As you can see this talks about auth in general, not just ssh, so you SHOULD be able to make it work in the way you desire.
Nov
11
comment How do I force a command to be run on local login?
That will largely depend on your system/distro, and how well you can handle PAM (if your distro uses pam). More detail, please.
Nov
4
comment How to get the ~/.bashrc to work in the native terminal application in Centos?
@bated: I understood that perfectly fine. But forcing every open window to become a login shell is not the right way to do this; the question is why your login manager doesn't pull it in, or why your terminal doesn't inherit the values from ~/.bashrc if the login manager did do its job.
Nov
4
comment How to get the ~/.bashrc to work in the native terminal application in Centos?
@JohnWHSmith: not quite right ... the plain /etc/profile & ~/.profile are there in case none of bash's actual initialisation files are present, and for reasons of backwards compatibility with sh.
Nov
4
comment How to get the ~/.bashrc to work in the native terminal application in Centos?
@bated: that's not the answer, that's a hackish workaround.
Nov
3
comment Telling 'tr' that a-z is not only ASCII
Like so? LANG=en_US.UTF-8
Nov
3
comment Telling 'tr' that a-z is not only ASCII
If I copy & paste your post here into vim, save the file and then apply your tr incantation above against it I get output with the special characters 'à', 'é' and 'ç' missing. What is your locale, what are your language settings?
Oct
30
reviewed Approve How to update linux “locate” cache
Oct
29
comment Why I get unexpected end of file in my script when using gzip?
If the individual invocation worked for you you just got lucky. Redirecting back into a file that you're reading is usually not a good idea.
Oct
15
answered Looking to grep or egrep year ranges from 1965-1996
Oct
8
awarded  Yearling
Sep
29
comment how to find out the name of the server on which the files are hosted on?
Have you considered mount or df?
Sep
24
awarded  Autobiographer
Sep
9
comment How to view second hard drive with Windows 7 in Linux
/dev/sda would be an unpartitioned raw device, and /dev/sda1 the first partition on the same physical drive, so what you're describing can't possibly be what you have.
Sep
9
comment What is the reverse of echo -e?
Or, in non-GNU implementations of cat, e.g. MacOS/X, take your cat to the vet ... cat -vet