Web development, also known as website development, refers to the tasks associated with creating, building, and maintaining websites and web applications that run online on a browser.
LINUX BASICS COMMAND
cd
: Change directory. Used to navigate through the file system. Example:cd /home
ls
: List files and directories. Example:ls -l
mkdir
: Create a new directory. Example:mkdir mydirectory
rm
: Remove a file or directory. Example:rm myfile
cp
: Copy a file. Example:cp file.txt newlocation
mv
: Move or rename a file. Example:mv oldfile newlocation
echo
: Output text to the terminal. Example:echo "Hello World!"
cat
: Display the contents of a file. Example:cat file.txt
nano
: A simple text editor. Example:nano myfile
pwd
: Print the current working directory. Example:pwd
man
: Display the manual for a command. Example:man ls
chmod
: Change file mode (permissions). Example:chmod 755 myfile
chown
: Change file ownership. Example:chown user:group myfile
find
: Search for files based on various criteria. Example:find /home -name "myfile"
grep
: Search for a pattern in one or more files. Example:grep "pattern" file1 file2 ...
sort
: Sort lines of text. Example:sort -n file.txt
uniq
: Display only the unique lines of text. Example:uniq file.txt
head
: Display the first few lines of a file. Example:head -5 file.txt
tail
: Display the last few lines of a file. Example:tail -5 file.txt
cat >
: Output the contents of a file to the terminal, overwriting any existing content. Example:cat > myfile
rmdir
: Remove an empty directory. Example:rmdir mydirectory
touch
: Create a new empty file. Example:touch myfile
curl
: Transfer data from a server to the local machine. Example:curl https://example.com
wget
: Download files from the internet. Example:wget https://example.com/file.txt
ssh
: Connect to a remote machine using the secure shell. Example:ssh user@remotemachine
scp
: Transfer files between machines using the secure copy protocol. Example:scp file.txt user@remotemachine:/home/user/
sftp
: Transfer files between machines using the secure file transfer protocol. Example:sftp user@remotemachine /home/user/file.txt
ssh-keyscan
: Display the contents of a SSH key. Example:ssh-keyscan -t rsa user@remotemachine
chroot
: Change the root directory of a process. Example:chroot /newroot /bin/bash
su
: Switch to another user or run a command as another user. Example:su user