Linux and network security

Linux and Network Security 1. Introduction: first, let's take a look at the management of compressed files in linux. II. System Security: 1. logon operation before the host (1) use single-user mode: normal logon: direct root login without a password

Shell>/dev/null2> & 1

Shell & gt;/dev/null2 & gt; & amp; 1 details shell may often see: & gt;/dev/null2 & gt; & amp; the result of the 1 command can be defined in the form of % & gt;, where % & gt; indicates the file descriptor. We combine this command: & gt;/dev/null2 &

CentOS and sudoers solutions

When sudo is used in CentOS and sudoers solutions, the prompt & quot; xxxisnotinthesudoersfile is displayed. thisincidentwillbereported. XXX is your user name, that is, your user name does not have the permission to use sudo, we just need to modify

How to delete the/var/lib/dpkg/info folder of dpkg by mistake

Delete the/var/lib/dpkg/info folder of dpkg by mistake. when installing the software today, the following error occurs: E: Sub-process/usr/bin/dpkgreturnedanerrorcode (1) the online query solution was misled by the Internet. I accidentally deleted

Unable to obtain lock/var/lib/dpkg/lock-open (11: temporary resource unavailable)

Unable to obtain the lock/var/lib/dpkg/lock-open (11: temporary resource unavailable) solve the problem: an error occurs when the program is updated: unable to obtain the lock/var/lib/dpkg/lock-open (11: temporary resource unavailable) solution: in

View Linux disk space

View disk space size in Linux 1. df command; df comes from coreutils software package and comes with it during system installation; we can use this command to view the disk usage and the location where the file system is mounted. for example: [root @

Use of single quotation marks, double quotation marks, and reverse quotation marks in shell

When using single quotes, double quotes, and reverse quotes in shell scripts, special symbols such as single quotes, double quotes, and reverse quotes are often used. They play different roles in shell, but are prone to misuse and confusion. Briefly

How does one send emails to external mailboxes in linux?

In linux, how does one send emails to external mailboxes and use linux? sometimes, if we want to send emails to friends or colleagues, can we send them directly through the command line? How can I use a script to send an email to an external mailbox

System User Account Management

System User account management Linux is a multi-user multi-task time-sharing operating system. any user who wants to use system resources must first apply for an account from the system administrator, then enter the system as this account. On the

Linux command note

Linux command Miscellaneous kernel is the kernel (dealing with machines) application is the application shell is the shell (dealing with people) What is the shell? Each terminal is provided by the shell. a prompt is provided, indicating that the

Linux basic commands

Linux system basic commands date time command date is used to view and set the current system Time: format the display time: + % Y -- % m -- % d command hwclock (clock) the hardware clock time command cal is used to view the Calendar uptime to view

10 excellent Linuxshell script interview questions

Very good ten Linuxshell script interview questions 1. write a shell script to transfer files larger than 10 kb in the current directory to the/tmp Directory #/bin/sh # Programm: # Usingformovecurrentlydirectoryto/tmpforFileNamein 'ls-l |... very

Iptables firewall configuration file

# The first two lines are Annotations # Firewallconfigurationwrittenbysystem-config-securitylevel # Manualcustomizationofthisfileisnotrecommended. # use the filter table * filter # the following four items define the built-in INPUT, FORWARD, and AC #

Use iptables to configure the Linux Proxy Server

1. enable the linux route forwarding function. # Vi/etc/sysctl. conf settings (default is 0) net. ipv4.ip _ forward1 after the settings are complete, run the following command to make it take effect # sysctl-p2. enable nat in iptable. Here I use

Tcpdump advanced tutorial

Enter mantcpdump in linux. the following content is displayed at the beginning of manual: tcpdump [-AdDeflLnNOpqRStuUvxX] [-ccount] [-Cfile_size] [-Ffile] [-iinterface] [-mmodule] [-Msecret] [-rfile] [-ssnaplen] [-Ttype] [- Enter man in

Small and medium-sized enterprise server ssh management

The manager asked me to plan the company's ssh management for the ssh management of small and medium-sized enterprise servers. I used to use passwords. now I want to use keys, which are easy to manage and secure. so I have the following plan:

Linuxbashscript concise Manual

Linuxbashscript concise manual! Script execution and debugging 1. absolute path execution. the file must have the execution permission. 2. execute the sh command without the execution permission. 3 ,. add space or source to execute the command. the

Basic Text processing-cut

Basic Text processing-the find, grep, sort, and uniq commands described above are all line text processing tools, however, we often want to know the content of a column in these rows or the content of only some columns is useful to us. what should

SSH connection timeout settings

SSH connection timeout settings (1) for security reasons, no input is made within a certain period of time (the number of seconds is unknown, but it is very short) after the SSH connection to the remote server, the server automatically disconnects.

Ubuntu11.10 manually download and install JDK 6 (available for test)

Ubuntu11.10 manually download and install JDK 6 (available for test) recently due to development needs, you need to install JDK 6 on ubuntu11.10. here we will summarize the installation process: Step 1: Download JDK 6 from the official sun website,

Total Pages: 2732 1 .... 299 300 301 302 303 .... 2732 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.