how to create a new file command
Answers were Sorted based on User's Feedback
Answer / subhash
create new file touch and give filename it will create new
file
| Is This Answer Correct ? | 26 Yes | 3 No |
Answer / saim.saiyed
you can use
touch filename (this way you can also create zero byte file)
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / rajesh
#touch filename
#cat >>filename
#vi filename
#vim filename
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / d.veera
$touch filename
or
cat > filename
or
vim filename
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / susheel narayan singh hcl
The cmd which use to create file
1- cat > filename
2- touch filename
3- vi filename
4-vim filename
5- gvim filename
6- gedit filename
7- nano filename
8- emac filename
9-pico filename
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kiran kumar raju
The cmd which use to create a file
1- cat > filename
2- touch filename
3- vi filename
| Is This Answer Correct ? | 0 Yes | 0 No |
I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other commands?
How do you run command every time a file is modified?
I have a user name in /etc/vsftpd/user_list which is for blocking the ftp user. Now i blocked the user as well ,but without removing username in user_list i wanna access the users home directory and his own directory .How will you access the data ????
find out what file systems supported by kernel?
When u comment the ctrl+alt+del trap in the /etc/inittab save the file. Tell the command to save the changes without rebooting the machine?
Can I delete .bash history?
Is cmake only for c++?
How do I run a shell script?
What is nslookup command?
What can you tell about the tar command?
What is env command in linux?
Explain the linux ‘cd’ command options along with the description?