• Linux - Module 14: Managing users and groupsLinux - Module 14: Managing users and groups

    Use the userdel command to delete a user account. By default, only the account is deleted, not any of the files owned by the user. By using the –r option, files in the user’s home directory and the user’s mail spool are deleted.

    pptx28 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1262 | Lượt tải: 0

  • Linux - Module 13: System and user securityLinux - Module 13: System and user security

    Displays detailed user and system information: [sysadmin@localhost ~]$ w 10:44:03 up 50 min, 4 users, load average: 0.78, 0.44, 0.19 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty2 - 10:00 43:44 0.01s 0.01s -bash sysadmin tty1 :0 09:58 50:02 5.68s 0.16s id sysadmin pts/0 :0.0 09:59 0.00s 0.14s 0.13s who sysadmin pts/1 example.com 10:00...

    pptx28 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1229 | Lượt tải: 0

  • Linux - Module 12: Network configurationLinux - Module 12: Network configuration

    ifconfig - Displays interface configuration information. route - Displays the routing table. ping - Used to determine if a remote machine can be contacted via the network. netstat - Display network statistics. dig - Displays query results from DNS servers. ssh - Allows a user to login to a remote machine.

    pptx22 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1343 | Lượt tải: 0

  • Linux - Module 11: Managing packages and processesLinux - Module 11: Managing packages and processes

    The kernel ring buffer is memory used to hold messages generated by the kernel. The /var/log/dmesg file is used by some distributions to hold kernel messages that were generated during start up. Kernel messages, mixed in with other messages, are found in the /var/log/messages or /var/log/syslog file. The /etc/syslog.conf or /etc/rsyslog.conf fil...

    pptx39 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1251 | Lượt tải: 0

  • Linux - Module 10: Understanding computer hardwareLinux - Module 10: Understanding computer hardware

    No video standards, requiring specific drivers for specific video cards. Two types of connections: Video Graphics Array (VGA) Digital Visual Interface (DVI) Monitor and video card must both support selected resolution. Typically X.org server determines proper resolution.

    pptx24 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1341 | Lượt tải: 0

  • Linux - Module 9: Basic ScriptingLinux - Module 9: Basic Scripting

    Tests the loop condition each time while [ ! –f /tmp/foo ]; do try_to_make_foo # makes /tmp/foo on success sleep 1 # wait 1 sec done Used when the number of loops is unknown or changes each loop

    pptx18 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1395 | Lượt tải: 0

  • Linux - Module 8: Pipes, Redirection and REGEXLinux - Module 8: Pipes, Redirection and REGEX

    The xargs command helps complex piped command sets execute more efficiently It attempts to build the longest command line possible with as many arguments as possible It tries to prevent executing the command each time for every argument

    pptx70 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1379 | Lượt tải: 0

  • Linux - Module 7: Archiving and compressionLinux - Module 7: Archiving and compression

    zip output.zip file1 file2 file3 zip foo.zip file.doc # One file zip –r foo.zip Documents # recurse unzip –l foo.zip # show contents unzip foo.zip # extract all unzip foo.zip file1 # just file 1 unzip foo.zip Documents/projectA/* # everything under Documents/projectA

    pptx10 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1337 | Lượt tải: 0

  • Linux - Module 6: Working with files and directoriesLinux - Module 6: Working with files and directories

    The rm command is used to delete files File deletion is permanent! Use -i to avoid accidental deletion when using globs Delete directories with the –r option or rmdir if the directory is completely empty

    pptx18 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1366 | Lượt tải: 0

  • Linux - Module 5: Getting HelpLinux - Module 5: Getting Help

    The locate command is able to find any file as long as the user has permission to access the containing directory by searching a database of filenames on the system. The updatedb command is typically scheduled to update the locate database daily, but the root user can execute updatedb to immediately update the locate database.

    pptx26 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1153 | Lượt tải: 0