Search Results

Search: Posts Made By: mohtashims
1,141
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.
3,239
Posted By mohtashims
Thank you .... Works Perfect @Corona @RudiC.
Thank you .... Works Perfect @Corona @RudiC.
2,990
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...
1,005
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...
794
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...
1,118
Posted By mohtashims
Thank you @Corona .... Resolved.
Thank you @Corona .... Resolved.
923
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...
593
Posted By mohtashims
Resolved !!
Resolved !!
928
Posted By mohtashims
Works good !! Thank you Corona :)
Works good !! Thank you Corona :)
588
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

 

Featured Tech Videos

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