Search Results

Search: Posts Made By: analyst
2,561
Posted By analyst
it is just an application i open from the GUI...
it is just an application i open from the GUI programs menu. I can also type
terminator in any shell and it open a window with prompt and starts in my home director.
But after the upgrades, I...
2,561
Posted By analyst
terminator shell not working after upgrading ubuntu linux
Terminator is a program that allows users to set up flexible arrangements of GNOME terminals.
It has stopped working for me after upgrading to ubuntu 11.10. it does not give prompt...
5,613
Posted By analyst
Thanks for replying Jim, prompted by your...
Thanks for replying Jim, prompted by your explanation, I found that the file under consideration is owned by root. A 'user' owned files can be changed by the same command.

I tried sudo chown user...
5,613
Posted By analyst
Perl one liner to replace text
Not quite a unix question but problem in a perl command. Taking a chance if someone knows about the error


cat 1
a b c d
perl -p -e 's/a/b/g' 1
b b c d


What is the problem here??

...
6,038
Posted By analyst
corona and mirni, both of yours' suggestions did...
corona and mirni, both of yours' suggestions did not work so far

The usual process:

$ kshell
$ kinit username@domain
Password for username@domain:




$ kshell kinit username@domain
$
...
6,038
Posted By analyst
I am not trying to enter password through alias,...
I am not trying to enter password through alias, just trying to combine kshell and kinit commands.
Thanks for reply mirni, your proposed solution did not work for me. It gives no error but returns...
6,038
Posted By analyst
Using alias to create subshell and work in it
using kerberos to access remote server. first I execute kshell to create subshell and then kinit username@domain in that subshell. After that it prompts to enter password.

Since I need to do this...
7,461
Posted By analyst
I am myself a beginner, but a shell script will...
I am myself a beginner, but a shell script will help

while

do

start a counter c = 1:
d = c+1
then Something like
if elif to see even odd files, use sed 11d to clear the preamble or sed...
11,130
Posted By analyst
multiple if conditions and EOF in a shell script
I want to create an IF condition with multiple condition, in the statement below I want to add OR EOF, can any one please advise how to do.

if [ ${array[5]} != $sample ] && [ $c -eq 1 ]; then
...
12,491
Posted By analyst
yes, I can set alias for the current shell like...
yes, I can set alias for the current shell like that.

And I don't have ~/.bash_aliases

Still wondering where the alias might be

---------- Post updated at 04:08 PM ---------- Previous update...
12,491
Posted By analyst
Thanks for reply but it is not there as well. ...
Thanks for reply but it is not there as well.

Is there is any way to modify it by command line?
12,491
Posted By analyst
Can't find where alias is set
I have an alias set on linux:

progs -> /home/user01/prog1.pl

the location of prog is changes to /home/user01/new/prog1.pl

so I need to modify alias, except I can not find where it is set. It...
66,838
Posted By analyst
Thanks for reply, this command works. However,...
Thanks for reply, this command works.
However, I am still curious why \t does not work with --output-delimiter flag with cut command. Does not matter if I pipe it with sort or not.
66,838
Posted By analyst
set output delimiter as tab in cut command
I can not make it work, it prints \t rather than introduce tabs.

cut -d "," -f 4,8 Samples.csv --output-delimiter="\t" | sort > out

Since I am running this command within a shell script, I...
1,747
Posted By analyst
Yes it works. This must be the reason....
Yes it works.

This must be the reason. Thanks again
1,747
Posted By analyst
Great! It works. Do you have a minute to...
Great! It works.

Do you have a minute to write a line to help me know the reson.
redirecting output to a file and then opening the file and reading does not work.
but when I pipe ls output...
1,747
Posted By analyst
[Solved] Simple while loop does not exit
spath="/home/user/k/${1}"
dpath="/home/user/seq/Nov17/${1}"


cd $dpath
ls -1 $spath > list

c=1
while read list

newlist=`echo $list | sed 's/.gz//' `
newnewlist=`echo $newlist | sed...
1,070
Posted By analyst
wokes well. tx a ton both codes work,...
wokes well.

tx a ton

both codes work, bartus's modification reminds me of how silly i was being.
Thanks to you, and to radoulov (https://www.unix.com/members/302021308.html) as well
1,070
Posted By analyst
thanks bartus. though its giving me counts...
thanks bartus.

though its giving me counts but filename is 0, like this:

0 538934
0 542708
0 551563
0 553847
0 ...
1,070
Posted By analyst
awk on multiples files
Ques from newbie

I want to total column X from large number of files, and view totals for each file separately with the filename.

I have tried:

for i in `ls -1 *.pattern`; do cat "$i" | awk...
Showing results 1 to 20 of 20

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