Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

list commands in shell

compgen -c	#In Unix
help | more	#In Windows
Comment

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 :: centos who connected to server 
Shell :: bacula install centos 7 
Shell :: typo3 clearc chace over commandline 
Shell :: back4app cli tool install mac 
Shell :: awk print first characters of a field 
Shell :: Npm install instagram-private-api 
Shell :: the folder cannot be copied because you do not have permissions to create it in the destination 
Shell :: how to make jobs run synchronously on github actions 
Shell :: telnet in shell script 
Shell :: pip uninstall virtualenv bash: /usr/bin/pip: /usr/bin/python: bad interpreter: No such file or directory 
Shell :: docker wsl2 vmmem 
Shell :: install kubernetes on wsl 
Shell :: windows loader modified uninstall other cracks 
Shell :: command list sort files by size 
Shell :: mac secure erase free space 
Shell :: kali rm 
Shell :: proxmox change lxc name 
Shell :: how to automatically change wall paper in kubuntu 
Shell :: git rename branch and force push 
Shell :: how to git init 
Shell :: restart linux 
Shell :: check ip in terminal 
Shell :: download anaconda for jupyter notebook 
Shell :: debian logrotate mail.log monatly 
Shell :: nginx server missing webmin 
Shell :: git: Download specific file from Github website 
Shell :: imagemagick merge multiple images 
Shell :: cht sht .vim (config opts) 
Shell :: linode attach volume to disk 
Shell :: nmap cat file 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =