Questions tagged [fc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Can I configure Multipathig on FC Ports?

I have backup software which is installed on RHEL 7 Server. The connectivity between Data Domain and the Backup Server is as below: Zonning is configured on switch 1 and switch 2 as below: Alias For ...
0
votes
0answers
15 views

Splash when using fc command through fzf in subshell

If we have this below command: fc -rl 1 | fzf --height 10% Then we don't have a splash (feel like double redraw screen) If we have this below command: cmd=$(fc -rl 1 | fzf --height 10%) Then now ...
4
votes
2answers
123 views

edit-and-execute-command interrupted by SIGTSTP

I've been using bash's edit-and-execute-command function: edit-and-execute-command (C-x C-e) Invoke an editor on the current command line, and execute the result as shell commands. Bash ...
0
votes
0answers
136 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
95 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
196 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
682 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
369 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
281 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
98 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
484 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?