Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux commands list

To view a file, use the command -
cat filename
Comment

linux commands list

//The syntax to combine 2 files is
cat file1 file2 > newfilename
Comment

linux commands list

For renaming file:
mv filename newfilename
Comment

linux commands list

Directories can be created on a Linux operating system using the following command:

mkdir directoryname
Comment

linux commands list

To remove a directory (file), use the command -

rmdir directoryname
Comment

linux commands list

The 'mv' (move) command can also be used for renaming directories. Use the below-given format:
mv directoryname newdirectoryname
Comment

PREVIOUS NEXT
Code Example
Shell :: vscode add folder to workspace cli 
Shell :: change git commit 
Shell :: install next-auth 
Shell :: find and kill android device offline on Mac 
Shell :: how to add geth to environment variables 
Shell :: gradle init scala 
Shell :: Trying to bind fd 26 to <0.0.0.0:443: errno=13 
Shell :: echo variable referenced in variable 
Shell :: nsis set default install directory with username 
Shell :: webp to png ubuntu command 
Shell :: chere cygwin 
Shell :: merge master into branch 
Shell :: awk print only range of lines 
Shell :: how to stop a website running on port 8000 or any other port 
Shell :: find size delete bash 
Shell :: open prompt with default folder ubunut 
Shell :: emulator android 
Shell :: purge opencv ubuntu 20.04 
Shell :: get-docke 
Shell :: got push SSH 
Shell :: docker compose busybox image 
Shell :: quasar pug 
Shell :: how to install 
Shell :: chmod 400 command meaning 
Shell :: resize all images in folder linux 
Shell :: ls -la sort time file 
Shell :: how to calculate duration of time in shell script 
Shell :: stash a single file 
Shell :: how to set your github url ater cloning a repository 
Shell :: Optimize images like Photoshop Bulk 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =