1. Check whether samba software is installed.
Rpm-qa | grep samba
2. Install the samba rpm package and use the following command.
Rpm-ivh samba *. rpm
(Master package client package common tools and library package, graphical management toolkit)
Or
Locate files and directories
Format: locate file and directory
We can see that we searched for test5 and output the result to us. We created a new file named newfile1. However, we did not find it when using locate. We may find that we use locate to
In ubuntu, E420 cannot access the Internet wirelessly. What is the problem? The wireless Nic seems to be driving, but the listed wireless signals cannot be seen in the network management tool.
I have re-installed the wireless NIC Driver
Duplicate rows are often deleted during text processing. The following are three methods:
First, use sort + uniq. Note that uniq alone cannot be used.
Sort-n test.txt | uniq
Second, use the sort + awk command. Note that awk alone does
1. view all users in Linux
In linux, there are no convenient commands like windows's net user and net localgroup to manage the user. Xwindows interface.
(1) In the terminal, you only need to view the/etc/passwd file.
(2) Check the third
Decompress the tar.gz file under Linux
All the operations below are described in the subsequent steps
[Yonghu @ localhost ~] # Su root
Password:
[Root @ localhost ~] # Cd/home/new/Desktop
[Root @ localhost Desktop] # tar-xzvf
1. more $ less
More is similar to liss, for example.
Mkdir temp
Cd temp
Touch
Cat a | more/less
The long results of the first command are displayed by page.
2 cat & paste
Both cat and paste can display the content of the merged
In fact, it's easy to use the dd command.
[Guo @ guo ~] $ Dd if =/home/guo/me. sh of =/home/guo/win. sh
Read records of 0 + 1
Records the write records of 0 + 1
159 bytes (159 B) Copied, 0.000139826 seconds, 1.1 MB/second
The above is to
1. Set the program to start with the System: System-> preference-> startup programs-> add
1. Open the settings window.
2. Click Add to Add
3. enter the Name of the program to be added in the Name box, and enter the target of the program to
Apparently, we saved the data prepared for the INQUIRY command to a struct we defined, that is, structdata_ptr [36], but we were responding to a SCSI command, the answer is the SCSI core layer. They passed a scsi_cmnd struct, namely, the Server
This afternoon, after a computer is installed with a software package and shut down abnormally, it is found that remote ssh cannot be connected. Previously, it can be connected.
Execute service sshd
No response is returned, and even the sshd
Our development environment uses 64-bit suse 10.
Today, I used the iostat tool and found that the sysstat package was not installed. So he found the sysstat-6.0.2-16.4.x86_64.rpm package from the disc,
Then run the rpm-ivh sysstat-6.0.2-16.4.x86
Download netfilter-layer7-v2.22.tar.gzand linux-2.6.28.8tar.bz2 to the Internet
1. decompress and release the netfilter-layer7 and Linux kernel source code, and use patches to merge patch files
Root # tar zxvf
Starting from Ubuntu 10.04 (including Ubuntu 10.10), in some topics, the "minimize maximization" button is removed from the right of the title bar to the left by default, no matter how many new or old Ubuntu users are not used to it, after all,
For the case where use_sg is 0, let's look at the second row. offset is the parameter passed in by the function call. It is clear in the comment that it is used to mark the offset, each time you copy several bytes, it adds several bytes, and the
Tomcat7 settings
Add a line in the catalina. sh File Header
JPDA_SUSPEND = 'y'
This will pause the running of the Tomcat application when it starts, and wait for the jdb client to connect and issue the run Command to start running.
Start the
The wc command of Linux is usually used together with other commands to calculate the line and other information. In Linux, wc is used for counting. The number of lines, characters, and bytes of the returned file.
Let's start with an example:
Chen yunwen
During program compilation in Linux, "undefined reference error" is often reported,
Here, we will summarize some possible causes and solutions to our friends:
For undefined reference error, refer to the Linux gcc link rules first:
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