Search Results

Search: Posts Made By: smoofy
Forum: What is on Your Mind? 09-21-2016
2,129
Posted By smoofy
Shell scripting is great for automatising stuff...
Shell scripting is great for automatising stuff thats for sure. How did you start to learn? I know some basics that help me a lot in my job like a simple oneliners etc and love to use:
Advanced...
Forum: What is on Your Mind? 09-20-2016
2,129
Posted By smoofy
Well it is not about nothing in particular....
Well it is not about nothing in particular. Rather looking for inspiration and possibility to learn something.
Technologies I have experience with are Linux, BSD, networking and such.
I am...
Forum: What is on Your Mind? 09-20-2016
2,129
Posted By smoofy
Hacking buddy
Hi,

I am looking for a technical soul willing to play around with technical stuff and exchange the knowledge and experience no matter how skilled would that be either begginer or experienced geek....
7,946
Posted By smoofy
What about: awk 'BEGIN{RS=ORS=";\n"}/table7/'...
What about:
awk 'BEGIN{RS=ORS=";\n"}/table7/' text

CREATE VIEW view1
FROM table1 ,table2 ,table6 ,table7
something
something
FROM table5 ,table7 (something FROM table4 ,table5(this is...
6,105
Posted By smoofy
I have no idea what do you intent to put in the...
I have no idea what do you intent to put in the file but if it is plain number only you probably want to check if the line begins with 0 or not.

grep -ic "^0" abc_count.txt
2,581
Posted By smoofy
Why are you using "find" command in the...
Why are you using "find" command in the conditions?
Check if file exists is easily done by simple using [-f "name_of_the_file"] structure.
Using condition your way you are asking if whatever output...
1,187
Posted By smoofy
From my point of view offered solution should...
From my point of view offered solution should work but with FORWARD chain instead of the INPUT and OUTPUT.

Former rule denies only forwarded traffic and not the local one so I assume that asker...
Forum: Cybersecurity 11-07-2013
2,446
Posted By smoofy
Experience with libvirt netfilter API
Hi all,

I would like to get some ideas and opinions on matter of libvirt netfilter application in KVM environment. I am looking for some easy way to control it with an API and possible experience...
3,410
Posted By smoofy
Depends on what your job is. I would put it this...
Depends on what your job is. I would put it this way. Unix-like systems are very alike and if you are an experienced linux administrator it would not be a big deal to learn AIX, Solaris etc. Most of...
1,578
Posted By smoofy
If that script is sending a file via ftp it...
If that script is sending a file via ftp it should open an ftp connection. What about checking on state of that connection?
Forum: AIX 09-11-2013
1,456
Posted By smoofy
You can periodically with cron check if process...
You can periodically with cron check if process is up via ps command and if not you can send an email to him for example.

ps auxx | grep sleep | grep -v grep
if [ $? == 1 ]
then
echo "Sleep...
1,239
Posted By smoofy
Do you want ALL the files to be linked or just...
Do you want ALL the files to be linked or just the newest one?
You can obviously run a script that would check all the files in the source dest if appropriate file exist in dest dir and if not,...
1,578
Posted By smoofy
How do you transfer the file to the location?...
How do you transfer the file to the location? Can't you use return value of the download script as executing trigger for processing of your jobs?
5,385
Posted By smoofy
Glad to be helpful :)
Glad to be helpful :)
5,385
Posted By smoofy
Try: find / -name "*.sh" -exec grep -li...
Try:
find / -name "*.sh" -exec grep -li "text_to_search" '{}' \; 2>/dev/null
9,160
Posted By smoofy
It depends on what file names you would like to...
It depends on what file names you would like to have but for files 1-9 you could go with:
for i in `seq 1 9`; do echo "" > ./$i; done
5,385
Posted By smoofy
It works with -iname as well, try: find /...
It works with -iname as well, try:

find / -name "*.sh" -exec grep -li "text_to_search" '{}' \; as I said before, -iname option makes find to search for case insensitive...
Forum: What is on Your Mind? 09-02-2013
1,583
Posted By smoofy
As I am totaly unexperienced in this field could...
As I am totaly unexperienced in this field could you please describe little bit more usage of scripting/sql and what skill level is required?
Forum: What is on Your Mind? 09-01-2013
1,583
Posted By smoofy
FX software, business inteligence and analyst jobs
Hi everyone,

recently I've been offered a selection procedure for new Barclays development center in Prague. Job role should be something like:
Barclays FX Application Management Support Analyst...
3,765
Posted By smoofy
This is pretty tough one. Depends on the OS you...
This is pretty tough one. Depends on the OS you have got. Have you tried:
apt-cache search headers
Sometimes there are no headers coresponding to your currently running kernel therefore you got the...
12,401
Posted By smoofy
Have you tried with -i and -vv option? what does...
Have you tried with -i and -vv option? what does it give you?
5,120
Posted By smoofy
Dont you have to use [ $2 == "test.txt" ]...
Dont you have to use [ $2 == "test.txt" ] instead?
5,385
Posted By smoofy
I downloaded and installed solaris. And it...
I downloaded and installed solaris.
And it works :D
5,385
Posted By smoofy
Try: find / -name `*.sh` -exec grep -li...
Try:
find / -name `*.sh` -exec grep -li "word_to_search" '{}' ';'
5,385
Posted By smoofy
your grep does not know option -H so use -l. Stat...
your grep does not know option -H so use -l. Stat error is given because of the incorect user permissions.
Showing results 1 to 25 of 43

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