Common commands for Linux Programming

Source: Internet
Author: User

1) Compile the applicationProgram

Make-F makefile_5_2 clean
Make-F makefile_5_2

 

2) about shared directories
This folder is displayed under/mnt/HGFS of the Linux virtual machine.

 

3) run the CD command to enter the folder.

CD/mnt/HGFS/

 

4) copy the CP command

CP-ri a/B/* A1/B1/indicates whether to overwrite

\ CP-RF a/B/* A1/B1/DO NOT prompt Direct Overwrite

 

5) Linux Shutdown

Shutdown-H now

6) Create the directory mkdir

Mkdir HPP

 

7) view the file time

Stat HPP

 

8) start the program./CCS in Linux

Program exit, first use PS-Ef | grep XXX to view its PID, and then use kill PID to return ---------- force exit kill-9 PID

 

9) ll check the file read and write permissions. chmod 777 XXX grants the file the highest permission

10) The dos2unix command is used to convert text files in DOS format to Unix format. Sometimes a conversion is required to upload Windows files to Linux.

Format: dos2unix File

 

 

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.