MAN: manual refers to the manual. You can use this command to query the usage of other commands.
PWD: Print working directory indicates a password.
Su: Switch the swith user to the root user.
CD: Change directory switch directory
Ls: List Files
PS: Process status
Mkdir: Make directory to create a directory
Rmdir: Remove directory move directory
Mkfs: Make File System: create a file system
Fsck: File System check file system check
C
With more than 10 years of windows, and finally changed a high with the Mac, as the saying goes regardless of the front end or back end or toward the Linux, no matter how many PCs will eventually go to the Mac. Not learning command line with what Mac? It's done!
Pwd shows the current file path (print working directory)
Ls shows the files and folders in the current path (list, not is! the landlord always thought it was Is, always wrong)
Mkdir create folder (make directory)
Rmdir delete fold
The UNIX command set is a very distinctive set of commands. It is designed to be used to fully control UNIX machines. This section will discuss part of the UNIX command set. This section focuses on UNIX commands that are frequentl
1. Query IP address ifconfig2. Find port assignments for applications on the servergrep telnet/etc/services (telnet)Telnet using the TCP/UDP port number 23grep domain/etc/services (domain),
Telnet
Ftp
Tftp
http
Https
Snmp
Domain
Echo
Discard
Daytime
Chargen
Time
23
20
69
80
443
161
53
7
9
13
19
37
3.ping [IP Address], test the network for connect
Nbsp; you must have an account on workstation before using UNIX. When login appears, enter the account name and password. now you have completed the login operation and entered UNIX. After entering, the system will start the shell, which will accept your
Before using UNIX, you must have an account on workstation.
When login appears, enter the account name and pas
DF Command verbose usage
A: Displays all file systems and disk usage scenarios for each partition
I: Show the usage of i-nodes
K: size is denoted by K (default value)
T: Displays all partition disk usage for one file system
X: Displays all partitions that are not part of a file system disk usage
T: Displays the name of the file system to which each partition belongs
Common commands: Df-hi
Detailed operation
Instruction DF can show the maximum a
[Programmer technical skills] familiar with Unix/Linux Shell and common command line (I) file system structure and basic operations,
As a programmer, it is essential to be familiar with some unix/linux Command lines, because the servers used to deploy services are basically unix/linux systems, and services are rarely d
while the program is running. Here are some of the features GDB provides:It allows you to monitor the value of variables in your program. --monitor memory and registersIt allows you to set breakpoints so that the program stops executing on the specified line of code. --Breakpoint debuggingIt allows you to execute your code in a row. --Single Step debugging
12.gdb Basic Command :File loads the executable file you want to debug.Kill terminates the prog
The previous article, I said, windows in order to change the user to its console interface, and then start from Windows Vista, plan to change this situation, so there isThe advent of PowerShell.1. Compatible Shell commandsTo be compatible with Unix/linux shell (mainly bash) commands, PowerShell provides a set of mechanisms for compatibility with Cmd.exe and bash command
disk based on the disk location indicated by the handle, without checking whether the file is deleted.
DU/etc/| sort-Nr | the more command indicates to display the directory/etc/. when viewing the usage of the directory, the sort parameter-Nr indicates to reverse sort by numerical sorting, because we want to sort the directory size, we cannot use the output of the human-readable size. Otherwise, the directory size contains the words K and M, which may lead to incorrect sorting.
5. In man's case
The basic steps for installing SU (Seismic Unix) on Ubuntu16.04 are ubuntu16.04seismic.
Seismic Unix (SU) is a source Seismic data processing software developed by the Wave Field Research Center (CWP) of the Colorado mining Institute, at present, many scholars use SU for seismic data processing and programming in Linux. I personally studied FWI and used SU progr
Basic Unix shell script Test1. Which of the following code lines will print your previous working directory to the screen? CA. Echo ~B. Echo $ pwdC. Echo ~ -D. Echo *2. Which of the following symbols can be used to redirect the command output to a file? If the file exists, the file will be overwritten? CA.>B. C.>D. n>3. Which of the following statements enables shell to run the pkgsetup script at pm on Apri
After reading the third chapter of advanced programming in the Unix environment, I also typed the code myself. I also explained some IO functions, including read/write/fseek/fcntl; here is mainly a C function, which is easier to understand. The fcntl function is well explained. It can obtain and change the attributes of the opened file (read-only, write-only, etc. Note the difference between the function and STAT ), the following describes some
Pre-language: I am halfway decent do programmers, in fact, to deal with the usual work of business can also, but the basic knowledge is weak, of course, also with the Chinese computer education has a relationship, usually chat with colleagues, in fact, even if it is trained, for the computer itself know very little, so when the graduation two anniversary, To determine the future of the technical learning direction, but also decided to add the
Basic Commands-2Compression and archivingPackaged:Archive, similar to packing before travellingCompression:To reduce the amount of disk space used, backups can be made to save network bandwidth when transferred over the network.Packaged compression softwareWindows:winrar 360 compression Good 7zip WinZipLinux: Compact format: GZ, Bz2,xz,zip,zCompression algorithms are different, resulting in different compre
myhaspl 18 September 16:21. PKIDrwxrwxr-x. Root root 4096 September 16:25 pypy-2.3.1-srcbash-4.2$This blog all content is original, if reproduced please indicate sourcehttp://blog.csdn.net/myhaspl/Multiple commands can be written on the same line, used once, separated by semicolonsbash-4.2$ Ls-la; CD Numpy;lsTotal dosage 150484DRWX------. 6 MYHASPL myhaspl 4096 September 10 16:55.Drwxr-xr-x. 3 root root 20 September 10 08:23..-RW-------. 1 MYHASPL MY
Part 1ArticleI said that in order to change users' criticism on their console interface, Windows Vista started and planned to change this situation.
The appearance of powershell.
1. compatible with shell commands
To be compatible with Unix/Linux shell(the master is the command line of bash‑compatible with cmd.exe and bash commands. This is what we mentioned
while the program is running. the following are some functions provided by GDB:It enables you to monitor the value of variables in your program. -- monitor memory and registers.It enables you to set breakpoints so that the program stops running on the specified code line. -- breakpoint debuggingIt enables you to execute your code in one row. -- single-step debugging
12. GDB basic commands:File to load the executable file to be debugged.Kill to termin
After reading the first chapter of the Bible, I am familiar with the entire programming process of Unix. The use of C language is now available.
From the Unix architecture, the original operating system, including the kernel and some other software, is often called the Linux kernel as the operating system, which has become a consensus. Familiar with the introduction of shell, the mainstream is Bash (Bourne
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.