Access Windows files in Ubuntu: Samba
1. Set network sharing in windows, and you must have a user with the permission to share the network.
2. Run
Sudo Mount-t cifs-O username = test, password = password123 // 192.168.1.101/login Folder/MHT
I am paying attention to the problem of the nail in Chongqing today, so I didn't read a book. Just say one command. FILE command, used to display the file type (such as text files or folders ).
Usage: file [Option]... [file]...Determine file
1. My computer under Windows-> Management -? Disk management, you will see the LINUX partition without a name, right-click on it, delete the logical Partition
2. Restart, change the BIOS boot sequence, and disable the boot from the disk.
3. Save
Environment Variable env
Export display = localhost: 0.0 this command modifies the value of display in the environment variable to localhost: 0.0
System date
Running timeThis command is used to calculateProgramHow long does it take?
Time
Linux does not understand basic commands.
Linux is a multi-user, multi-task operating system. windows is also. however, Windows is generally used by a single user. few people use a single machine at the same time. (Windows Server 2003 can be used to
I. df-lH commandDF comes from the 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;[Root @ localhost ~] # DF-lFile System
Add User: useradd
-U uid specifies the UID of the new user. By default, the current maximum uid is used to add 1
-G group: Specifies the group of the new user.
-G: Specify the additional group for the new user
-D specify the Home Directory of the
Do you know? Movies such as Titanic and Star Wars are processed in Linux.
What are the codes of hard disks in Linux?
A: Most people are accustomed to using cdef-like symbols to identify hard disk partitions, but not in Linux.
Linux naming is more
What is a file system?
A file system is a method and data structure for the operating system to save file information on a partition.
The Linux File System has a similar general structure, and its key components include:
Super Block
Index node inode
Linux redirection refers to modifying some of the original default items and changing the default Execution Mode of the original system commands, for example, I don't want to see the output on the monitor. Instead, I want to output the output to a
In a Linux operating system, there is a system software package, which functions similar to "Add/delete programs" in windows, but is much more powerful than "Add/delete programs, it is Red Hat Package Manager (RPM ). This toolkit was first launched
Automatically mount the FAT partition at startup in Linux
1. the mount point must be a directory.
2. A partition is mounted to an existing Directory. The directory cannot be empty, but the contents in the directory are unavailable.This is also true
Because the time set by the two systems is based on the time in the motherboard CMOS, there are different time calculation standards. This leads to system time disputes.
Linux and Apple use the current motherboard time in CMOS as the Greenwich Mean
Nic is the most important device for Linux servers. According to statistics, Linux network faults include 35% at the physical layer, 25% at the data link layer, 10% at the network layer, 10% at the transmission layer, 10% at the conversation layer, 7
Because the current project is transferred to the Linux platform, and the IPC communication uses idea, the first time you program, compile, and link the program in Linux. Almost every step is very difficult, and all things need to be checked. I get
For Linux and Windows sharing, Samba can be used for implementation. Samba is a free open-source software that can implement Windows Domain Controllers and file services on Linux or other UNIX-like operating systems, print Service.
Samba implements
File compression command:
Gzip: compress and decompress the file. The general format is as follows:Gzip [Option] compression (decompression) file nameOption description:-D: Extract-R: Recursively search for a specified directory and compress all
Cat command
This command is mainly used to display files and merge files. The format is as follows:When a file is displayed: CAT [Option] FileWhen merging files: CAT file 1 file 2> file 3
The following are useful options:-B, -- number-noblank:
I just re-installed the system. This time I decided to back up some important directories. I used to know that the tar command is a master in this field. But how do I back up the database? I have not studied it systematically. So I have summarized
Axel parameters:
Code:
Common parameters include: -N xx specifies the number of threads as xx -Sxx: Download from XX Images -A is displayed without screen flushing.For more parameters, see man Axel.
Wget skills
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