Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fc]

The tag has no usage guidance.

0
votes
0answers
29 views

HPE MSA-2050, FC extremely slow read/write

There's HP DL380 Gen10 server (dual Xeon Silver 4110 2.10GHz, 128Gb RAM, qlogic qla2xxx ) running debian 9.8, acting as database sever (percona server-5.6.43-84.3). Mysql data directory is connected ...
0
votes
1answer
29 views

Short command or alias to copy last command to clipboard

Often I'd like the command I just typed to put into the clipboard, and I'd like to do it from the command line. I came up with: alias cl="fc -ln -1 | sed 's/^\s*//' | xsel -b" To alias cl to that ...
2
votes
1answer
60 views

Viewing Port Info FC Solaris 11

I have a hba card with two ports (port 0) and (port 1) and I want to know how can obtaining using OS the info to mapping the wwn that I can see using fcinfo hba-port command to a port of the hba card. ...
0
votes
2answers
112 views

How to check that which storage connected either FC or iscsi

How do i check that, which type of storage are connected with my linux(Redhat) system. I want to find that either ISCSI or FC storage connect ?
-1
votes
1answer
165 views

fc-list is empty

Some time ago I deleted a lot of packages from a VPS that seemed to be needed only for visual programs (I got the list from some other question here, I don't remember where exactly). Now I'm running ...
2
votes
2answers
143 views

Alternative of bash's `history -p` in zsh?

In bash, history -p does history expansion on its argument; What is the alternative in zsh?
4
votes
0answers
82 views

FreeBSD sh: is it possible to import a list of commands into fc without executing them?

I cannot find any indication that sh supports persistent history. So I am trying to create this functionality manually. At the end of my .shrc history I have added this: trap -- 'fc -ln -- 1 >> ...
1
vote
2answers
228 views

How to use vim for editor when running fc?

I have a machine for which when I run fc it opens in the nano editor. How can I switch the editor to vim when I edit a command with fc?