Useful commands in Unix / Linux
This chapter lists the commands, including syntax and brief descriptions. For more details about these commands, you use.
This chapter lists the commands, including syntax and brief descriptions. For more details about these commands, you use:
$ man command
Files and folders in Unix / Linux
These commands allow you to create folders and control files.
Command Descriptioncat Display cd file content Change directory to dirname chgrp Change chmod file group Change cp permission Copy source file into place to file Specify file type find Search for grep files Find files with expressions standard head Displaying the first few lines of the file Create a soft link on the old name Show information about the file type mkdir Create a new dirname folder Show the data in the form numbered page Move (set rename) an old file name to a new file name pwd Print the current working directory rm Remove (delete) a rmdir file Delete an existing directory tail Print a few lines at the end of the touch directory Access update and editing time of a fileManipulating data in Unix / Linux
The contents of the file can be compared and changed with the following commands:
Command Descriptionawk Sample scan and cmp language process Compare content of 2 file comm Compare cut-sorted data Cut selected fields in each line of a diff file Differential file comparator expand Extend join tabs Combine files on some common perl fields Language manipulating sed sort text stream editor Classify split data Split files into smaller files tr Compile uniq characters Report repeated streams in a wc file Calculate the number of words, lines, and micro characters Open the text editor vi vim Open the vim fmt text editor Simple spell text format suite Check the spelling of ispell text Check the ispell text spelling errors Check emacs text spelling errors Emacs ex project, edit emacs stream editor GNU Emacs emac project s GNU Emacs projectCompress files in Unix / Linux
Files can be compressed to save space. Compressed files can be created and practiced with the following commands.
Description commandcompress Gunzip files Compression of gzip files GNU uncompress compression method Unzip unzip files List, check and decompress compressed files in zcat ZIP file Connect and link zcmp zipped files Comparing zdiff compressed files Compare compressed files zmore Filter files to view crt of compressed documentsGet information in Unix / Linux
Various reference documents and Unix handbooks are available online. The following shell commands will give you information:
Command Descriptionapropos Set the location of commands using the search keyword. info Display command information on the online man page Show manual pages whatis online Search whatis data for full words. yelp Set of verification for GNOME helpNetwork communication system in Unix / Linux
The following commands are used to send and receive files from an internal host to a remote control host in the World.
Description commandpp Transfer files to rcp program Remotely control the copying of rlogin files Remote login to a Unix host rsh Remote control shell tftp Program to transfer common telnet Create terminal connection to another host ssh Security shell terminal or connection scp command Security shell from remote file copy sftp Security shell from sending file to programOne of the above commands may be restricted on your computer for security reasons.
Notifications between users in Unix / Linux
Unix systems support notifications displayed on the screen to other users and send mail automatically worldwide.
Command Descriptionevolution The mail control tool for GNU on Linux mail Simple mail sending and reading program mesg Allow or refuse to receive parcel notifications Send files to pine users Other utilities vdu-base mail talk Talk to users Other applications write Write notifications to other usersUtility programs in Unix / Linux
The following table is the tools and languages that are available based on what you install on your Unix system:
Description command dbx Sun gdb debugger GNU debugger make Maintain program groups and compilations nm Print list of program name sizes Print size of strip program Remove table character and repositioning the cb bits Correct writing set (beautifier) C cc program ANSI C compiler for Suns SPARC ctrace systems Error correction program C gcc GNU ANSI C indent compiler Coming soon indented and formatted of the Cc program source source Gcl interactive arithmetic language processor GNU Common Lisp perl General purpose language php Website with embedded language Python asp language interpreter Embedded language website CC Compiler C ++ for Suns SPARC g ++ systems GNU C ++ compiler javac JAVA compiler appletvieweir JAVA netbea micro-code verification ns Integrating JAVA development environment on Linux sqlplus Running Oracle SQL sqlldr interpreter Running Oracle SQL mysql data loader Running SQL mysql interpreterMixed commands in Unix / Linux
Here are the commands and information about the system changes:
Command Descriptionchfn Change your finger command information chgrp Change group ownership of a chown file Change owner date Print date determin Auto-look for du terminal type Print disk capacity using echo Reflection arguments to Standard function exit Exit finger system Print information about users who are logged into groupadd Create a user group groups Only members of the homequota group Only quota and file size using the iostat Report statistics I / O kill Send a signal to a last program Show last log of logout users Exit Unix lun List usernames or netstat login ID Indicates the network status of the system passwd Replace Change password of individual user passwd Replace dd i log in your password printenv Display the value of a shell variable ps Show the status of the current processes ps Print the status statistics of the quota -v process Display the disk and gender usage capacity reset limit Reset terminal script mode Hold scritp of terminal script area Save output of a command or a setenv process Set environment variables stty Set terminal time functions Time of a top command Show all tset system processes Set terminal tty mode Print current terminal name umask Only the permissions that are provided to view files by default uname Display the name of the current system uptime Receive useradd system uptime Create a user account d ng individual users In the name of the users are logged vmstat reports statistics w only real memory of what the user has logged Ongoing who Listing list of users who have loggedAccording to Tutorialspoint
Previous article: Signal and Trap in Unix / Linux
Next lesson: Math function is available in Shell
You should read it
- File Management in Unix / Linux
- Math functions are available in Shell
- System log in Unix / Linux
- Manage folders in Unix / Linux
- Basic utilities: print, email in Unix
- Basic file system in Unix / Linux
- Network communication utilities in Unix / Linux
- Navigation IO in Unix / Linux
- What is Unix / Linux?
- Signal and Trap in Unix / Linux
- Micro editor in Unix / Linux
- Regular Expression in Unix / Linux
Maybe you are interested
WiMax gigabit speed creates 4th generation mobile network The Windows era will continue until 2023 Top 12 hottest things in the universe Return to the historic moment when NASA spacecraft landed on the Moon through a re-created film from over 14,000 photos The surface of Venus: Why is Venus the hottest planet in the solar system? Fire needs air to burn, so how does the rocket work in space?