how will you convert a general file to a hidden file?

Answers were Sorted based on User's Feedback



how will you convert a general file to a hidden file?..

Answer / sunil

vi sunil
mv sunil .sunil

Is This Answer Correct ?    25 Yes 1 No

how will you convert a general file to a hidden file?..

Answer / shaishaw

mv filename .filename2
or
cat> filename
mv filename .filename2

Is This Answer Correct ?    7 Yes 1 No

how will you convert a general file to a hidden file?..

Answer / swathi

cat unix
mv umix .unix1

Is This Answer Correct ?    6 Yes 3 No

how will you convert a general file to a hidden file?..

Answer / guest

by renaming it. Place a dot befor the file name

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What does grep v grep do?

0 Answers  


Describe the zip/unzip command using gzip.

0 Answers  


Which command is used to restrict incoming messages?

0 Answers  


How to find $ai_serual resolved path by using unix

0 Answers  


Which Command is Used for temprary switch User?

5 Answers   BitWise, IBM,






distinguish between physical addresses and logical address?

3 Answers   Infosys,


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

0 Answers  


How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


what is the difference between relative path and absolute path?

7 Answers  


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


Categories