You can use the su command to run a Linux shell program as another user, which is helpful for connecting throughSSHwhen the root user is deactivated. The basic syntax is:su [options] [username [argument]]With no
bin/astro node_modules/astro node_modules/astro/dist/runtime/server/render/astro Cleanup old log files: Regularly delete log files older than a month to free up disk space. Terminal window 代码语言:javascript 代码运行次数:0 运行 AI代码解释 ➜ find /var/log -type f -name "*.log" -...
In this handy, compact guide, you'll explore a ton of powerful Ubuntu Linux commands while you learn to use Ubuntu Linux as the experts do: from the command line. Try out more than 1,000 commands to find and get software, monitor system health and security, and access network resources....
Ubuntu命令行终端命令总结 SUMMARY OF LESS COMMANDS Commands marked with * may be preceded by a number, N. Notes in parentheses indicate...
It allows you to move the current working directory to a new location in the filesystem.When you run the cd command by itself, it will return you to the home directory. You can also pass a specific path to change into. For example:...
This command is equivalent to logging in as root (based on what permissions you have as a sudoer). non-root-user@ubuntu:~# sudo Password: Just add the command sudo before any command that you need to run with escalated privileges, and that’s it. It’s very simple to use, but ca...
/run: 是一个临时文件系统,存储系统启动以来的信息。当系统重启时,这个目录下的文件应该被删掉或清除。如果你的系统上有 /var/run 目录,应该让它指向 run。 /lost+found: 一般情况下为空的,系统非法关机后,这里就存放一些文件。 /tmp : 这个目录是用来存放一些临时文件的。
In Ubuntu, your shell keeps a history of the commands you run. Enter history in the terminal, and you should see a history of commands you ran in the past. history commands show the commands used in the past You can choose to run an entry from the history using its number like this:...
I have added installation instructions for Ubuntu/Debian. Please make sure toenable universe repositoryas most of these commands are not in the main repository. For other distros, please use your respective package managers. 1. sl:Run a train in your terminal ...
ifconfigis used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed. Check Active Network Interfaces ...