AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-905948

abbasi_ahsan's questions

Martin Hope
abbasi_ahsan
Asked: 2019-08-28 05:37:32 +0800 CST

如何逐行合并两个文件的数据?

  • 2

我有两个文件,想逐行合并数据。输入文件是 file.txt 和 file2.txt。

file1.txt

howareu
abc
zooo

file2.txt

123
@@
099

我想合并这两个文件,这样输出将是:

output.txt

howareu123
howareu@@
howareu0999
abc123
abc@@
abc0999
zooo123
zooo@@
zooo0999

有没有办法做到这一点?有没有办法使用sedorpaste命令来获取结果?

files merge text-processing
  • 2 个回答
  • 286 Views
Martin Hope
abbasi_ahsan
Asked: 2019-01-24 22:48:59 +0800 CST

KDevelop 崩溃(意外关闭)

  • 1

我尝试运行应用程序“KDevelop”,但返回以下错误:

root@11:~$ kdevelop

 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    kbuildsycoca4 running...
    kbuildsycoca4(8881) KBuildSycoca::checkTimestamps: checking file timestamps
    kbuildsycoca4(8881) KBuildSycoca::checkTimestamps: timestamps check ok
    kbuildsycoca4(8881) kdemain: Emitting notifyDatabaseChanged ()
    kdevelop(8847)/kdevplatform (language): failed to open a repository 
    KCrash: Application 'kdevelop' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    KCrash: Connect sock_file=/home/user/.kde/socket-ws4/kdeinit4__1

    [1]+  Stopped                 kdevelop

我还删除并重新安装了 KDevelop,但返回相同的错误。

ide dbus crash kdevelop
  • 1 个回答
  • 757 Views
Martin Hope
abbasi_ahsan
Asked: 2019-01-21 21:45:15 +0800 CST

如何访问/使用非分区磁盘

  • 0

我正在使用 Ubuntu 16.04 并希望访问/使用服务器中的不同磁盘(以下磁盘):

lsblk

NAME               MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                  8:0    0   372G  0 disk 
├─sda1               8:1    0   487M  0 part /boot
├─sda2               8:2    0     1K  0 part 
└─sda5               8:5    0 371.5G  0 part 
  ├─CR2--vg-root   252:0    0 115.6G  0 lvm  /
  └─CR2--vg-swap_1 252:1    0 255.9G  0 lvm  [SWAP]
sdb                  8:16   0  12.7T  0 disk 
└─sdb1               8:17   0  12.7T  0 part /mnt/storage
sdc                  8:32   0   5.5T  0 disk 
sdd                  8:48   0   5.5T  0 disk 
sde                  8:64   0   5.5T  0 disk 
sdf                  8:80   0   5.5T  0 disk 
sdg                  8:96   0   5.5T  0 disk 
sdh                  8:112  0   5.5T  0 disk 
sdi                  8:128  0   5.5T  0 disk 
sdj                  8:144  0   5.5T  0 disk 
sdk                  8:160  0   5.5T  0 disk 
sdl                  8:176  0   5.5T  0 disk 
sdm                  8:192  0   5.5T  0 disk 
sdn                  8:208  0   5.5T  0 disk 
sdo                  8:224  0   5.5T  0 disk 
sdp                  8:240  0   5.5T  0 disk 
sdq                 65:0    0   5.5T  0 disk 
sdr                 65:16   0   5.5T  0 disk 
sds                 65:32   0   5.5T  0 disk 
sdt                 65:48   0   5.5T  0 disk 
sdu                 65:64   0   5.5T  0 disk 
sdv                 65:80   0   5.5T  0 disk 
sdw                 65:96   0   5.5T  0 disk 
sdx                 65:112  0   5.5T  0 disk 
sdy                 65:128  0   5.5T  0 disk 
sdz                 65:144  0   5.5T  0 disk 
sr0                 11:0    1  1024M  0 rom  
nvme0n1            259:2    0   1.8T  0 disk 
nvme1n1            259:1    0   1.8T  0 disk 
nvme2n1            259:3    0   1.8T  0 disk 
nvme3n1            259:0    0   1.8T  0 disk 

我只能访问/使用以下内容:

df -h 
Filesystem                Size  Used Avail Use% Mounted on
udev                      126G     0  126G   0% /dev
tmpfs                      26G   50M   26G   1% /run
/dev/mapper/CR2--vg-root  114G   83G   26G  77% /
tmpfs                     126G     0  126G   0% /dev/shm
tmpfs                     5.0M     0  5.0M   0% /run/lock
tmpfs                     126G     0  126G   0% /sys/fs/cgroup
/dev/sdb1                  13T   12T     0 100% /mnt/storage
/dev/sda1                 472M  159M  289M  36% /boot
tmpfs                      26G     0   26G   0% /run/user/1000

我也尝试以下方法:

sudo fdisk /dev/sdc

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
The size of this disk is 5.5 TiB (6001175126016 bytes). DOS partition table format can not be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).

Created a new DOS disklabel with disk identifier 0x2a4732aa.

我怎样才能使用其他磁盘sdc,,sdd...sdf

filesystem partitioning disk-usage hard-drive disk-management
  • 3 个回答
  • 868 Views
Martin Hope
abbasi_ahsan
Asked: 2018-12-28 03:50:24 +0800 CST

petalinux v2018.2 安装错误

  • 3

我在 Ubuntu 2016.04.5 上安装 Petalinux_v2018.2

./petalinux-v2018.2.ir.run /opt/petalinux_2018.2/

但以错误结束:

./petalinux-v2018.2.ir.run: line 52: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
INFO: Checking installer checksum...

tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
Please refer to the PetaLinux Tools Installation Guide.

Check the troubleshooting guide at the end of that manual, and if you are
unable to resolve the issue please contact customer support with file:
   /opt/petalinux_2018.2/petalinux_installation_log

tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
INFO: Extracting PetaLinux installer...
tar: /tmp/tmp.eeJueiu2Ol: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tee: /opt/petalinux_2018.2/petalinux_installation_log: Permission denied
ERROR: Failed to extract the PetaLinux installer. Failed to install PetaLinux Tools!

任何解决此问题的帮助将不胜感激。

当我尝试

sudo ./petalinux-v2018.2.ir.run /opt/petalinux_2018.2/

它还提示错误:

ERROR: Exiting Installer: Cannot install as root user!
xilinx
  • 4 个回答
  • 3689 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve