10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Firends,
I wanted to extract the first record of the file which starst with character say "X". And I tried an awk command which works when i try to execute it individually:
awk 'substr($1,1,1)=="X"' inputfile.txt
But when I use the same command in my script for which I am passing the... (2 Replies)
Discussion started by: Ajay Venkatesan
2 Replies
2. Shell Programming and Scripting
hi,
i want to use chmod command inside ftp. so that what ever files are transfered to the local server will hav 664 permission.
if i use chmod inside ftp , the file permissions gets changed in the remote server and when the file is transffered to local server using get command, it does not... (8 Replies)
Discussion started by: Little
8 Replies
3. Solaris
Hi Bros,
I have a question want to receive your help.
On SunOS server. I have 1 file in /etc. mode of file is "read only". I've used chmod 777 commmand to change mode of that file. firstly, it's ok. but about 3 mins after that. The mode of that file rollback to "read only". I don't know how.... (4 Replies)
Discussion started by: hikaru022002
4 Replies
4. Shell Programming and Scripting
which one is correct
chmod 777 file.txt or chmod 777 / file.txt
what is difference in these two commands?
thanx in advance (2 Replies)
Discussion started by: Himanshu_soni
2 Replies
5. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
6. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
7. Shell Programming and Scripting
Hi guys,
I want to find the number of records in a particular file and store that value in any other variable. I am trying this below command but it is not working and giving me an error "Uninary Operator Expected".
say I have taken a variable name 'count' in which I have to store the no. of... (7 Replies)
Discussion started by: dtidke
7 Replies
8. Solaris
Hi,
I want to create one user who has right to run chmod command in solaris,
Any Idea? (7 Replies)
Discussion started by: manoj.solaris
7 Replies
9. Shell Programming and Scripting
I want to make a hidden file with chmod command.
Example:
I have a file name inputfile.txt
-rw-r--r-- 1 xxxxxx xxxxxx 1388 Sep 12 05:41 inputfile.txt
I want to hide that file using chmod command.
Please tell me if it is possible or there is some other way to do this.
Thanks... (2 Replies)
Discussion started by: rinku
2 Replies
10. UNIX for Dummies Questions & Answers
hello! is there a way for me to use the chmod command to change permissions for several files all at once -based on the fact that these files were all most recently modified TODAY ?
I can't use a wildcard on their filenames because the filenames are varied. But I was hoping I could somehow do... (2 Replies)
Discussion started by: polka_friend
2 Replies