Search Results

Search: Posts Made By: hce
721
Posted By Akshay Hegde
$ cat infile user=test1 group=test1...
$ cat infile
user=test1 group=test1 ctime=1411615875 qtime=1411615875 etime=1411615875 start=1411615876 resources_used.mem=390792kb resources_used.vmem=8844720kb resources_used.walltime=8


awk...
721
Posted By derekludwig
If user is always the first field and...
If user is always the first field and resources_used.walltime is always the last, then:
sed -e 's/ .* / /'will do the job.

---------- Post updated at 06:18 AM ---------- Previous update was at...
8,144
Posted By rbatte1
Could you set up sudo rules to allow this. There...
Could you set up sudo rules to allow this. There is a NOPASSWD option you can add to them and you command would become:-sudo su - ${test_account} -c "check_accounts.sh"


Does this help?


...
8,144
Posted By Corona688
The reason it does this is because it's designed...
The reason it does this is because it's designed to not allow exactly what you are trying to do -- because it's an extremely bad idea. It's almost impossible to keep stored plaintext passwords safe.
Forum: Linux 06-16-2014
4,734
Posted By fpmurphy
And what exactly do you mean by "priority...
And what exactly do you mean by "priority order"?
Forum: Linux 06-15-2014
4,734
Posted By leame
I don't believe that you can do that, I've...
I don't believe that you can do that, I've checked the man pages and haven't found anything.
Forum: Linux 04-04-2014
4,734
Posted By in2nix4life
I don't believe there is a way to do this with...
I don't believe there is a way to do this with the chkconfig command, but you could try listing and sorting the contents of the /etc/rc.d/rc.*d directories to create an ordered list by priority of...
9,001
Posted By gull04
Hi hce, To get the most popular tool, you'd...
Hi hce,

To get the most popular tool, you'd have to carry out an in depth survey.

I thought you'd just want one that would do the job.

Regards

Dave
9,001
Posted By Corona688
Operating system is irrelevant, memtest86 is a...
Operating system is irrelevant, memtest86 is a standalone tool. It literally needs no operating system at all(in fact, one would get in the way) -- it only requires a bootloader. It seems to come...
9,001
Posted By gull04
Hi hce, Have used this...
Hi hce,

Have used this (https://sites.google.com/site/itmyshare/system-admin-tips-and-tools/memory-test-tools-on-centos-rhel-and-other-linux) in the past, did the job for me.:)

Regards

Dave
Forum: Linux 08-20-2014
4,460
Posted By achenle
Rename them then reboot. Be sure to have a...
Rename them then reboot. Be sure to have a rescue disk handy...
Forum: Linux 08-20-2014
4,460
Posted By Perderabo
Try this: in modprobe.d create a new file called...
Try this: in modprobe.d create a new file called 8021q. In it, put the lines:
install 8021q /bin/true
install garp /bin/true


This tells the kernel to use non-standard versions of 8021q and...
4,932
Posted By cero
Check if ssh-keygen on your system supports the...
Check if ssh-keygen on your system supports the -F option. It is used to find hashed hostnames in known_hosts files.
2,460
Posted By Aia
As the user that has been added to a new group...
As the user that has been added to a new group issue:

$ newgrp <new_group>

Change back to your primary group
$ newgrp
Test
$ groups
3,245
Posted By Klashxx
Add tou your ssh: -o ConnectTimeout=n Where n...
Add tou your ssh:
-o ConnectTimeout=n
Where n is compute as seconds.
5,315
Posted By Don Cragun
In addition to what Scrutinizer said, $7 in the...
In addition to what Scrutinizer said, $7 in the last line of output from dd is s,; not 60.6 MB/s. And you don't need both grep and awk. Try:
dd if=/dev/zero of=/dev/null bs=1G count=1 oflag=dsync...
5,315
Posted By Scrutinizer
Try: dd .... 2>&1 | grep ....
Try:
dd .... 2>&1 | grep ....
1,527
Posted By Akshay Hegde
--edit-- $ cat <<test | grep -w 'compute' ...
--edit--

$ cat <<test | grep -w 'compute'
" properties = local compute"
" properties = local bigcompute"
test

" properties = local compute"
1,527
Posted By MadeInGermany
That's UUOC, could be simply <<test grep -w
That's UUOC, could be simply <<test grep -w
1,527
Posted By Scrutinizer
-w is an extension to POSIX grep and is not...
-w is an extension to POSIX grep and is not available on every platform. An alternative that should work in any POSIX grep would be:

grep -E '([^[:alnum:]_]|^)compute([^[:alnum:]_]|$)' file
1,527
Posted By Scrutinizer
Then try this: grep -E 'properties...
Then try this:
grep -E 'properties =.*[^[:alnum:]_]compute([^[:alnum:]_]|$)' file

If it does not need to be portable, on some platforms you can also try one of the following:
grep 'properties...
20,502
Posted By MadeInGermany
Yes, command line options are for ssh, and they...
Yes, command line options are for ssh, and they override ssh_config.
For changing existing options in sshd_config you can use awk
file=/etc/ssh/sshd_config
cp -p $file $file.old &&
awk '...
2,334
Posted By Don Cragun
Here is a much more verbose awk script that I...
Here is a much more verbose awk script that I think does what you want.
#!/bin/ksh
tmp="rm_tmp1.$$" # tmp file to hold sorted ouput list of normalized
#...
64,935
Posted By jim mcnamara
I personally would not run commands like fdisk...
I personally would not run commands like fdisk that way, at the risk of screwing up a disk.
It is your disk, so:
in UNIX you create a script using a here document:

fdisk -u -p /dev/whatever...
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 02:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy