Search Results

Search: Posts Made By: kartikkumar84@g
6,191
Posted By kartikkumar84@g
Unix in the banking world
Hi

I have recently joined a bank as a tester. Initially I will be working on some test scripts and then I will be testing their data warehouse using SQL and Unix. I do have a very basic knowledge...
2,470
Posted By kartikkumar84@g
Hi, Thank you, this works, is it possible to it...
Hi, Thank you, this works, is it possible to it without using sed or awk.
2,797
Posted By kartikkumar84@g
hi incredible, i am not really using grep. also i...
hi incredible, i am not really using grep. also i tried using sort -u but i guess it only works with files and not varibles....i am really stuck on this!!
2,797
Posted By kartikkumar84@g
Processes by User's names
Hi All

I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The...
2,481
Posted By kartikkumar84@g
Processes by User's actual names
Hi All

I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The...
2,470
Posted By kartikkumar84@g
hi era I am used to programming in Matlab...
hi era

I am used to programming in Matlab and C++ and in these languages you can refer to individual members of a variable (array) and compare their values to all the other members using 2 loops....
2,470
Posted By kartikkumar84@g
Modifying a variable value
Hi all, how do i modify a variable's value.

var1='abcd efgh ijkl mnop abcd'

how do i get var2 from var1

var2=$(......)
$echo var2
abcd efgh ijkl mnop

i.e. i have removed a duplicate...
1,531
Posted By kartikkumar84@g
Thank You jim, but the output is still exactly...
Thank You jim, but the output is still exactly the same as w -s on my system. I cant figure out why...

Basically what I'm trying to do is first read the logged on users using the 'users' command,...
1,531
Posted By kartikkumar84@g
Processes by Actual names
hi all.

Is there any way to get the original names (not the login names) of users currently logged on to the machine and the processes they are logged on to...names as in abc xyz and not abc.xyz
...
1,340
Posted By kartikkumar84@g
Varible
hi all, is there any way of referring to individual members of a varible.

like var=kati
so $var(1)='k' or somthing like that.

i am trying to display the file format in a tabular form..
so i...
1,340
Posted By kartikkumar84@g
New to Unix
Hello people. I am completely new to Unix. I wanted to ask you if there is any website that has a list of only QUESTIONS that I can practice some basic commands with..only list of questions testing...
12,439
Posted By kartikkumar84@g
yup thank u!
yup thank u!
12,439
Posted By kartikkumar84@g
wc -l filename does not work because it...
wc -l filename

does not work because it returns the file name as well, so it cant be used in an expression.
12,439
Posted By kartikkumar84@g
How to insert text in the middle of a file w/o SED or AWK!!
tht dint wrk as i am trying to do this using a script..im pasting the script

#!bin/bash

echo "Enter a line of text";
read text;

echo "Enter the file path to append to";
read path;
...
12,439
Posted By kartikkumar84@g
How to insert text in the middle of a file
Hey guys, how do we take a line of text as an argument from a user and then insert it in the middle of a file irrespective of the number of lines in the file. I am trying to do this without SED or...
3,452
Posted By kartikkumar84@g
hi jim thank you for your reply. but 1) i...
hi jim thank you for your reply. but

1) i need to number the lines only in this format 1)... 2)... 3).... Do you think i will need to use a loop or something and then keep appending the...
3,452
Posted By kartikkumar84@g
Reading an Input file and searching for occurrences WIHOUT SED or AWK
Hi people. I am new to shell scripting, so I need a little help. I want to create a script named that takes an argument as a file, Read the input file and look for occurrences of the current username...
Showing results 1 to 17 of 17

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