UNIX Basic

xiaoxiao2021-03-06  81

1. Kernel shell and file.2. PROM status command and parameter (1) OK> 3. Environment Variable 4.basic Command: (1) CP / MV / RM / MKDIR / RMDIR / CAT / TOUCH (2) CHMOD (3 ) DF / dU (4) Find (5) ln -s (6) man path: / usr / man5. IO ResENSer Management IOGREP6. User management1) File DRWXRWXRWX FILENAME R-4W-2X-1Mode : RWX RWX RWX R: Read W: Write x: Execute Correspondence: Owner, Group, Other Default Permissions By UMASK Code Control 2) ID View UID / GID3) CHMOD Change Documents or Directory Properties CHMOD [-R / Number ] File Name CHMOD 755 FILE1 Change File File1 can be read and executed by everyone, only Owner can write .chmod g x file2 increase file group user permissions to file2 execution CHMOD or File3 Remove other users to File3 read 4) The Owner7 Bash1) Environment Variables: Display, Term, Lang, Prompt, Path, ClassPath2) Environmental File: .login .profile .cshrc.., ..Network Configuration 1) / etc 2) defaultrooter 3) hosts 4) netmasks3) ifconfig -a10 packagepkgadd -d [devicename] pkgrm [device name] pkginfo -l pkgname11.Logoff and login1) logOff:. one can press ^ d to logoff the current x-window, IT Doesn't Work, You Can Check Eof, End of File, By stty -a.2) log in: You Should Enter The Correct Userna me and password to login the unix system For each login, the system will require information concerning the computer's terminal type Terminal type includes xterm / dtterm / vt100 and others, you can use:.. TERM = xterm, export $ TERM to define the terminal TYPE, You CAN Also Use: Echo $ TERM to Check What Kind of Terminal Type That You Use Currently.3) Passwd You can use the command "passwd" to change password of user, the usage is "passwd [username]", The DEFAULT IS Changing The Password of The Current Login User.

转载请注明原文地址:https://www.9cbs.com/read-107328.html

New Post(0)