Search Results

Search: Posts Made By: mohtashims
9,812
Posted By mohtashims
@Neo Hi, Thank you for the reply. I...
@Neo Hi,

Thank you for the reply.

I was not sure if my approach is good / correct and hence did not share the attempts made.

I have updated my original post with the code of what I tried.
10,978
Posted By mohtashims
Thank you .... Works Perfect @Corona @RudiC.
Thank you .... Works Perfect @Corona @RudiC.
8,798
Posted By mohtashims
I suspect I may be doing something wrong !! ...
I suspect I may be doing something wrong !!

I must say this works fine even when invoked from Ansible, however I have tested this on a My personal Linux System.

I would only be able to test...
3,858
Posted By mohtashims
Check if a file type exists repeatedly
Hi,

I have the below script that checks if the .tar file exists in my present directory. If so, extract it and then delete it except if the .tar filename is blent.tar

#!/bin/bash
while [ -f...
1,719
Posted By mohtashims
The directory permission 700 could be the cause...
The directory permission 700 could be the cause of issue.

Kindly wait before i do some tests and confirm.

---------- Post updated at 09:26 AM ---------- Previous update was at 09:00 AM...
2,958
Posted By mohtashims
Thank you @Corona .... Resolved.
Thank you @Corona .... Resolved.
1,857
Posted By mohtashims
Execute a command with root user
i m logged in with user1 id.

i wish to execute the below as root user for which i tried several commands but all of them fail.

sudo 'cat /tmp/tmp.file >>/etc/logger'
Password:
sudo: cat...
1,771
Posted By mohtashims
Resolved !!
Resolved !!
2,172
Posted By mohtashims
Works good !! Thank you Corona :)
Works good !! Thank you Corona :)
996
Posted By mohtashims
Please ignore this Thread for now. Looks...
Please ignore this Thread for now.

Looks like i was on a different box.
Showing results 1 to 10 of 10

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