How do you put a file in a file in UNIX. Ex. In directory Water project is file menu, and in file menu...?
anonymous
2007-03-15 12:53:21 UTC
How do you put a file in a file in UNIX. Ex. In directory Water Project is file Menu, and in file Menu is files Add, Remove, and modify? I only know how to put files in directories.
Also is there a command to make a file specifically a date file and not just a text file, i.e $> vi filename.
Three answers:
Groucho Returns
2007-03-15 13:12:01 UTC
Not sure exactly what you mean. If you simply want to concatenate three text files named Add, Remove and modify and put the result in a file called Menu, you can use "cat Add Remove modify >Menu".
If you want to archive and compress them like with zip files on windows, you can use the tar command:
tar -zcvf Menu.tar.gz Add Remove modify
Then to extract them again:
tar -zxvf Menu.tar.gz
Regarding the command to make a file a 'date' file rather than just a text file, I can't really help since I don't know what you mean by a 'date' file.
But ls -l will list files in a way that shows their last modification time/date if you mean that.
David V
2007-03-15 13:03:21 UTC
If I understand your question right, you want to create a subdirectory. Generally in the "Save As" dialog, there will be an option for creating a new subdirectory (folder) and then you can put the file in there.
I am not sure what you mean by a date file. You can use the touch command to create an empty file which will have a datestamp of when you ran the command. You can then see the date using "ls -l"
I hope this helps
?
2016-12-02 06:34:39 UTC
4 procedures... a million- replica into the floppy disk 2- drag and drop in to the floppy disk stress 3- record save as, then save your record onto the floppy disk stress 4- correct click on the record, then deliver to floppy disk stress desire it helps :)
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.