You can "hide" a file or directory in unix. Just add a "." at the begining of the file's name and users won't see it unless they do "ls -a"
But, if you don't want other users to list your files in some_dir, just "chmod o-x /some_dir"
Though, as it's been said before, if you do not want anybody be able to read your files, you should use ecryption...
Corona688, I think tbdo88 is using VIM in Linux, which has that option
I my Linux box, VIM v7.0.17 has it.
Regards.
Be carefull when you use "." to hide the file. "." has feature called self-autoexecution. It will automatically execute when you login. - Just FYI.
Hi,
The gcc compiler has warned about using gets(), so I've been trying my hand at getline.
Problem is that I've been able to read from a file, but what I really need is to read from a user's input.
I want to use getline like a scanf() command, but I can't figure what to substitute for the fp... (6 Replies)
If I have a number of users all in the same group. How do I give read only access to some of them on everyone elses home directory. Is it possible if they are all in the same group??
So
user1,2,3,4 can have read/execute on user1-5 home directory, but user5 can only read only have read... (1 Reply)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
Hi
I am new to writing script and want to use a Bash Piped while-read and read from user input.
if something happens on server.log then do while loop or if something happend on user input then do while loop.
Pseudocode something like:
tail -n 3 -f server.log | while read serverline || read... (8 Replies)
Hi,
I want to create a new user,and I want to give read permission to a folder which owned by root.
How can I do this?
thanks for your helps (4 Replies)
HI
I have set up vsftp on my Red hat server.
Chroot has been set up to control access to each user and folder directories.
This all works fine.
But i have one directory where i want to chroot but ensure that the ftp access is read only.
Any help appreciated
thanks
Treds (1 Reply)
I am creating a bash that uses perl . The below code closes before the input is entered. If I run the perl as a .pl it is fine. What am I doing wrong? Thank you :).
#!/bin/bash
cd 'C:\Users\cmccabe\Desktop\wget'
wget -O getCSV.txt http://xxx.xx.xxx.xxx/data/getCSV.csv
print... (4 Replies)
Hi,
I have one script for which I want that other user should not read the script file but can execute. Is there any method ?
I tried by giving 711 but it gives Permission denied to other users.
For Generic User id as a work around , I have created alias in .bashrc file and other user... (4 Replies)