Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: frappa
1,939
Posted By frappa
Hi, please check that the cat command is inside...
Hi,
please check that the cat command is inside backticks (the last one seems a single quote instead).

Moreover, the -c switch of tar command results in the re-creation of the .tar archive at...
938
Posted By frappa
egrep "^Hello" A.txt > B.txt
egrep "^Hello" A.txt > B.txt
831
Posted By frappa
cat input.txt | awk ' NR % 3 == 1 { printf $1 " "...
cat input.txt | awk ' NR % 3 == 1 { printf $1 " " }; NR % 3 == 2 { printf $0 } ; NR % 3 == 0 { print $1 , $3 } '

look for 'modulo' operator on awk manual.
see ya
fra
1,890
Posted By frappa
Hi, not very clear what are you really...
Hi,

not very clear what are you really looking for, but maybe this can help:
If you're trying to look for what network services the server is acting as a client (that is, applications running on...
37,439
Posted By frappa
Hi you may install the rpm package via rpm...
Hi you may install the rpm package via rpm without using yum, once you have downloaded the package.

yum error message seems originated by invalid base url for repository base.

Have a look at...
21,865
Posted By frappa
hi, there are many similar posts here, i.e....
hi,
there are many similar posts here, i.e. have a look at:
https://www.unix.com/unix-dummies-questions-answers/111858-argument-list-too-long-ssh.html

see ya
fra
1,419
Posted By frappa
hi curtis, there are many past threads on...
hi curtis,

there are many past threads on unix.com regarding a nedd similar to yours;
you may have a look at the following past threads for the structure of some expect script that may be useful...
5,315
Posted By frappa
hi, try: find /path/to/dir -type f...
hi,

try:

find /path/to/dir -type f -empty -mmin -60 -print >> /path/to/list.txt
1,871
Posted By frappa
while read line do num=`echo ${line} | awk...
while read line
do
num=`echo ${line} | awk -F "." ' { print $1 } '`
egrep "^${num} " file2 | cut -d" " -f2 >> output
done < file1
10,107
Posted By frappa
Hi, sometimes aliases are defined in...
Hi,
sometimes aliases are defined in ~/.bash_aliases or ~/.bash_login

Anyway you may set an alias by command line with:

alias <alias>='<command>'

but it's valid only in the current...
1,091
Posted By frappa
some source of info comparing the products may be...
some source of info comparing the products may be found googling for:
splunk syslog-ng comparison
Forum: Tips and Tutorials 01-13-2012
2,806
Posted By frappa
watch ls -l
watch ls -l
4,148
Posted By frappa
Hi, Last question: you may start with...
Hi,

Last question:
you may start with 'Linux Hands on Guide', you can find it on tldp.org; it's not specifically about shell scripting, but has useful exercises at the end of each chapter that...
19,592
Posted By frappa
Hi, in order to intercept errors during the...
Hi,

in order to intercept errors during the connection stage in expect, I generally use a "default" behaviour that makes expect to exit with a custom error code, like in the code fragment shown...
1,374
Posted By frappa
hi, have a look at man diff, diff may help to...
hi,
have a look at man diff, diff may help to check for differences in files, line by line.

On the other hand, if you post a couple of example output files from the above checks and the desired...
19,592
Posted By frappa
Hi, have you tried your script by calling it...
Hi,

have you tried your script by calling it manually and performing a simple command instead of password change? i.e. you can try to simply ls the content of the home directory just to see in the...
21,441
Posted By frappa
hi, 1. look for advanced bash scripting...
hi,

1. look for advanced bash scripting guide and other more basic resources on tldp.org, i also suggest you the linux hands on guide from tldp.org
2. if you have even a windows machine you can...
2,498
Posted By frappa
hi, have a look at man usermod, the section...
hi,
have a look at man usermod, the section OPTIONS, option -p.

perform tests on a test account

see ya
fra
2,108
Posted By frappa
Hi Zbay, the program source code...
Hi Zbay,

the program source code documentation should point you out to know where the top directory on filesystem for XCrySDen is installed by default (provided that you didn't specified an...
2,108
Posted By frappa
Hi, check for file .bash_profile or .bashrc...
Hi,

check for file .bash_profile or .bashrc in your user home directory: the variable should be set there.

in order to list them use:
ls -al

see ya
fra
15,629
Posted By frappa
Hi, first thing that comes to mind is to use...
Hi,

first thing that comes to mind is to use a simple configuration file that contains the name of all the servers to be pinged, one per line.

Then you could write a script that reads each line...
6,225
Posted By frappa
Sorry pal, it's weird that it suddenly...
Sorry pal,

it's weird that it suddenly stopped working.

Last shot in the dark could be generating another keypair (using solaris ssh implementation of ssh-keygen, not an openssh one), deliver...
Forum: HP-UX 12-15-2011
2,280
Posted By frappa
Hi, begin looking in /var/log/cron tell...
Hi,

begin looking in /var/log/cron

tell us what you find there

see ya
fra
2,883
Posted By frappa
Hi austing5, maybe visualizing the structure...
Hi austing5,

maybe visualizing the structure of the directories may clarify the concept:


/ <-- this is the 'root' directory of linux/unix filesystem
|
+-- home ...
1,204
Posted By frappa
Hi, quick & dirty solution: for...
Hi,

quick & dirty solution:

for currline in `cat input.txt`
do
ref=`echo ${currline} | cut -d, -f1`
string_from_ref=`grep ${ref} ref.txt | cut -d, -f2`
echo...
Showing results 1 to 25 of 35

 

Featured Tech Videos

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