在玩的时候awk我来执行:
ls -la >> a.txt ; awk {'print $5 $1'} a.txt ;
Run Code Online (Sandbox Code Playgroud)
这给出了如下输出:
53277-rw-------
52347-rw-------
Run Code Online (Sandbox Code Playgroud)
我怎样才能在这两个输出朋友之间留一个空格?
我只是想知道在哪里以及如何/run/lock和/run/shm能够帮助我们的PC。
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 56G 13G 41G 24% /
udev 983M 4.0K 983M 1% /dev
tmpfs 396M 840K 395M 1% /run
none 5.0M 8.0K 5.0M 1% /run/lock
none 990M 164K 990M 0% /run/shm
Run Code Online (Sandbox Code Playgroud) 我有一个 DVD ISO 文件,我想通过终端进行刻录。
我们有许多命令格式,但我无法选择最好且安全的一种。所以请给我一个通过终端刻录 ISO 的最佳命令。
我必须在同一个终端窗口中观看两个命令。我的意思是像
watch du -h filename.txt && df -h
Run Code Online (Sandbox Code Playgroud)
但它只显示一个输出。
所以我在想的是可能无法使用 watch 在同一个窗口上运行多个命令。
如果有任何方法,请告诉我。
谢谢你。
在执行以下操作时,我在 Ubuntu 12.04 中收到此错误。
frank@august:~$ sudo apt-get install ttf-mscorefonts-installer
[sudo] password for frank:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
frank@august:~$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:
newline in field name `#padding'
frank@august:~$
Run Code Online (Sandbox Code Playgroud)
&
frank@august:~$ head /var/lib/dpkg/updates/0045
#padding
#padding
#padding
#padding
frank@august:~$
Run Code Online (Sandbox Code Playgroud)
我看不到错误在哪里,帮我解决这个问题。谢谢你。
我正在使用 Ubuntu 12.04。
虽然在这里看到我已经经历了这个 但它似乎对我不起作用。这是我的踪迹。
raja@badfox:~$ mplayer www.live365.com
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing www.live365.com.
File not found: 'www.live365.com'
Failed to open www.live365.com.
Exiting... (End of file)
Run Code Online (Sandbox Code Playgroud)
它看起来需要一些背景工作。
Ubuntu 软件中心是否有任何 GUI 替代品
是否有任何终端可以替代gnome-terminal. 这些替代品有其他/额外的功能吗?
command-line ×4
alternative ×2
bash ×2
awk ×1
dpkg ×1
iso ×1
mount ×1
partitioning ×1
scripts ×1
system ×1