Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create file in linux

touch <filename>.<extension>
Comment

create file in linux

sudo nano <filename.extension>

Example:
cd /
cd /var/www/html
sudo nano Form.php
Comment

linux make file

touch file1.txt #Create file1.txt
Comment

linux terminal create file

/* only create file */
touch myFile.html

/* create and open to edit */
nano myFile.html
vim myFile.html
Comment

create file in linux

#solution 1
touch filename

#solution 2
> filename # or >> filename

#solution 3
cat > filename
Comment

create file linux

//will create test.txt
sudo touch test.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: keytool check for keys in keystore 
Shell :: generate uml from python code 
Shell :: git create local branch 
Shell :: docker connect usb device 
Shell :: git client 
Shell :: file name from path linux 
Shell :: ffmpeg from frames range to video 
Shell :: how to start elasticsearch correctly 
Shell :: E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) 
Shell :: install docker machine 
Shell :: disable swap kubernetes ansible 
Shell :: netspeed ubuntu 20.04 
Shell :: what is the option to sort by file size in unix 
Shell :: bash floating point variables 
Shell :: ubuntu install unzip 
Shell :: How do i search for available packages from the command-line 
Shell :: git get access to private repository 
Shell :: install virtual environmnet windows 
Shell :: how to delete a word from a bash file 
Shell :: download terraform 
Shell :: vim cut 
Shell :: npm install 
Shell :: kubectl install 
Shell :: windows terminal background image 
Shell :: Install MySQL FreeBSD 
Shell :: search everithing for ubuntu 
Shell :: install docker on windows server 2019 
Shell :: ssh permissions are too open 
Shell :: bash if number greater than zero 
Shell :: debian 10 sources 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =